DynamicValue.TrySetIndexValue Method (.Int32., 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(
    int[] indices,
    Object? value
)

Parameters

indices

Type: .System.Int32.
The indices.

value

Type: System.Object
The value.

Return Value

Type: Boolean
true if succeeded, false otherwise.

Exceptions

Exception

Condition

ArgumentNullException

indices

Reference

DynamicValue Class

TrySetIndexValue Overload

TwinCAT.TypeSystem Namespace