IArrayInstance.TryGetElement Method (IList..Int32.., ISymbol.)

Tries to get the array element with the specified indices (jagged array support).

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.116+a71ced3

Syntax

C#

bool TryGetElement(
    IList<int[]> jaggedIndices,
    out ISymbol?? symbol
)

Parameters

jaggedIndices

Type: System.Collections.Generic.IList..Int32..
The jagged indices list.

symbol

Type: TwinCAT.TypeSystem.ISymbol.
The symbol.

Return Value

Type: Boolean
true if found, false if the jagged indices specifiers is out-of-range.

Reference

IArrayInstance Interface

TryGetElement Overload

TwinCAT.TypeSystem Namespace