DynamicValue.TrySetIndexValue Method (.Object., Object)

Tries to set the indexed value on Arrays

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

Syntax

C#

public bool TrySetIndexValue(
    Object[] indices,
    Object? value
)

Parameters

indices

Type: .System.Object.
The indexes.

value

Type: System.Object
The value.

Return Value

Type: Boolean
true if succeeded, false otherwise.

Implements

IArrayValue.TrySetIndexValue(.Object., Object)

Reference

DynamicValue Class

TrySetIndexValue Overload

TwinCAT.TypeSystem Namespace