IStructValue.TrySetMemberValue Method

Tries to Set a Member/Property Value

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

Syntax

C#

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.

Reference

IStructValue Interface

TwinCAT.TypeSystem Namespace