TypeAttributeCollection.TryGetAttribute Method

Tries to get the specified ITypeAttribute

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

Syntax

C#

public bool TryGetAttribute(
    string name,
    out ITypeAttribute?? att
)

Parameters

name

Type: System.String
The name of the ITypeAttribute.

att

Type: TwinCAT.TypeSystem.ITypeAttribute.
The att.

Return Value

Type: Boolean
true if found, false otherwise.

Implements

ITypeAttributeCollection.TryGetAttribute(String, ITypeAttribute.)

Reference

TypeAttributeCollection Class

TwinCAT.TypeSystem Namespace