TypeAttributeCollectionTryGetSingleValue Method

Tries to get a single attribute value.


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

Syntax

C#

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

Parameters

name  String

The name.

value  String

The value.

Return Value

Boolean
true if found, false otherwise.

Implements

ITypeAttributeCollectionTryGetSingleValue(String, String)

Remarks

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

Reference

TypeAttributeCollection Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026