Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

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..
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.

Exceptions

Exception

Condition

ArgumentNullException

jaggedIndices

ArgumentOutOfRangeException

jaggedIndices