ReadOnlyTypeAttributeCollection.TryGetAttribute Method

Tries to get the specified ITypeAttribute


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

Syntax

C#

public bool TryGetAttribute(
string name,
out ITypeAttribute[]? attribute
)

Parameters

name  String

The name of the ITypeAttribute.

attribute  ITypeAttribute[]

The attribute.

Return Value

Boolean
true if found, false otherwise.

Implements

ITypeAttributeCollection.TryGetAttribute(String, ITypeAttribute[])

See Also

Reference

ReadOnlyTypeAttributeCollection Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026