DynamicValueTrySetIndexValue(Int32, Object) Method

Tries to set the indexed value on Arrays


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

Syntax

C#

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

Parameters

indices  Int32

The indices.

value  Object

The value.

Return Value

Boolean
true if succeeded, false otherwise.

Exceptions

Exception

Condition

ArgumentNullException

indices

Reference

DynamicValue Class TrySetIndexValue Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026