IStructValueTrySetMemberValue Method

Tries to Set a Member/Property Value


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

Syntax

C#

bool TrySetMemberValue(
    string name,
    Object value
)

Parameters

name  String

The name of the member

value  Object

The value.

Return Value

Boolean
true if succeeded, otherwise false otherwise.

Reference

IStructValue Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026