Skip to main content
.NET 6.0+

IBaseInfo.FindAttributes<AttributeType>() 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.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

Type Parameters

Name
AttributeType

Returns

Type Description
IEnumerable<AttributeType>

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

Remarks

This method searches over a type’s own attributes as well as the inherited attributes. If no attributes of the specified type are associated with the current type, the method returns an empty iterator.

See Also