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 (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

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

VB

Function TryGetElement ( 
    jaggedIndices As IList(Of Integer()),
    <OutAttribute> ByRef symbol As ISymbol
) As Boolean

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