DynamicArrayInstanceTryGetElement(IListInt32, ISymbol) Method

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


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

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

Parameters

jaggedIndices  IListInt32

The jagged indices list.

symbol  ISymbol

The symbol.

Return Value

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

Exceptions

Exception

Condition

ArgumentNullException

jaggedIndices

ArgumentOutOfRangeException

jaggedIndices

Reference

DynamicArrayInstance Class TryGetElement Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026