ITypeAttributeCollectionTryGetAttribute Method

Tries to get the specified ITypeAttribute


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

Syntax

C#

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

Parameters

name  String

The name of the ITypeAttribute.

attributes  ITypeAttribute

The attributes.

Return Value

Boolean
true if found, false otherwise.

Reference

ITypeAttributeCollection Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026