DynamicValue.TrySetMemberValue Method

Tries to Set a Member/Property Value

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

Syntax

C#

public bool TrySetMemberValue(
    string name,
    Object? value
)

Parameters

name

Type: System.String
The name of the member

value

Type: System.Object
The value.

Return Value

Type: Boolean
true if succeeded, otherwise false otherwise.

Implements

IStructValue.TrySetMemberValue(String, Object)

Reference

DynamicValue Class

TwinCAT.TypeSystem Namespace