TypeAttributeCollection.TryGetAttribute Method

Tries to get the specified ITypeAttribute

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public bool TryGetAttribute(
    string name,
    out ITypeAttribute att
)

VB

Public Function TryGetAttribute ( 
    name As String,
    <OutAttribute> ByRef att As ITypeAttribute
) As Boolean

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.

Reference

TypeAttributeCollection Class

TwinCAT.TypeSystem Namespace