The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v19.2.dll

Declaration

IEnumerable<AttributeType> FindAttributes<AttributeType>()
    where AttributeType : Attribute
Function FindAttributes(Of AttributeType As Attribute) As IEnumerable(Of AttributeType)
IEnumerable<AttributeType> FindAttributes<AttributeType>()
    where AttributeType : Attribute
Function FindAttributes(Of AttributeType As Attribute) As IEnumerable(Of AttributeType)
IEnumerable<AttributeType> FindAttributes<AttributeType>()
    where AttributeType : Attribute
Function FindAttributes(Of AttributeType As Attribute) As IEnumerable(Of AttributeType)

Returns

Type Description
IEnumerable<AttributeType>

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

Returns

Type Description
IEnumerable<AttributeType>

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

Returns

Type Description
IEnumerable<AttributeType>

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

Type Parameters

Name Description
AttributeType

Type Parameters

Name Description
AttributeType

Type Parameters

Name Description
AttributeType

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