DynamicArrayInstance.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#
public bool TryGetElement(
IList<int[]> jaggedIndices,
out ISymbol symbol
)
VB
Public Function TryGetElement (
jaggedIndices As IList(Of Integer()),
<OutAttribute> ByRef symbol As ISymbol
) As Boolean
Parameters
jaggedIndices |
Type: System.Collections.Generic.IList..Int32.. |
symbol |
Type: TwinCAT.TypeSystem.ISymbol. |
Return Value
Type: Boolean
true if found, false if the jagged indices specifiers is
out-of-range.
Exceptions
Exception |
Condition |
---|---|
jaggedIndices | |
jaggedIndices |