DynamicArrayInstance.TryGetElement Method (.Int32., ISymbol.)

Tries to get the array element

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public bool TryGetElement(
    int[] indices,
    out ISymbol?? symbol
)

Parameters

indices

Type: .System.Int32.
The indices.

symbol

Type: TwinCAT.TypeSystem.ISymbol.
The found Array element symbol (out-parameter).

Return Value

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

Reference

DynamicArrayInstance Class

TryGetElement Overload

TwinCAT.TypeSystem Namespace