ReadOnlyTypeAttributeCollection.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?? attribute
)

Parameters

name

Type: System.String
The name of the ITypeAttribute.

attribute

Type: TwinCAT.TypeSystem.ITypeAttribute.
The attribute.

Return Value

Type: Boolean
true if found, false otherwise.

Implements

ITypeAttributeCollection.TryGetAttribute(String, ITypeAttribute.)

Reference

ReadOnlyTypeAttributeCollection Class

TwinCAT.TypeSystem Namespace