ReadOnlyTypeAttributeCollection.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 attribute
)
VB
Public Function TryGetAttribute (
name As String,
<OutAttribute> ByRef attribute As ITypeAttribute
) As Boolean
Parameters
name |
Type: System.String |
attribute |
Type: TwinCAT.TypeSystem.ITypeAttribute. |
Return Value
Type: Boolean
true if found, false otherwise.