ITypeAttributeCollectionTryGetSingleValue Method

Tries to get a single attribute value.


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

Syntax

C#

bool TryGetSingleValue(
    string name,
    out string?? value
)

Parameters

name  String

The name.

value  String

The value.

Return Value

Boolean
true if found, false otherwise.

Remarks

If more than one Attribute with the same exists, then this method returns fals.

Reference

ITypeAttributeCollection Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026