Skip to main content
A newer version of this page is available. .

IBaseInfo.FindAttributes<AttributeType>(Boolean) Method

Returns the attributes of the type specified by the generic type parameter, associated with the type represented by the current IBaseInfo object.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

IEnumerable<AttributeType> FindAttributes<AttributeType>(
    bool recursive
)
    where AttributeType : Attribute

Parameters

Name Type Description
recursive Boolean

true, to take into account inherited attributes; otherwise, false.

Type Parameters

Name
AttributeType

Returns

Type Description
IEnumerable<AttributeType>

An IEnumerable<AttributeType> object that represents the attributes associated with the current type.

Remarks

If no attributes of the specified type are associated with the current type, the method returns an empty iterator.

See Also