DynamicValue.TrySetMemberValue Method

Tries to Set a Member/Property Value

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public bool TrySetMemberValue(
    string name,
    Object value
)

VB

Public Function TrySetMemberValue ( 
    name As String,
    value As Object
) As Boolean

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