DynamicArrayInstanceTryGetElement(Int32, ISymbol) Method

Tries to get the array element


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

Syntax

C#

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

Parameters

indices  Int32

The indices.

symbol  ISymbol

The found Array element symbol (out-parameter).

Return Value

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

Reference

DynamicArrayInstance Class TryGetElement Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026