IBaseInfo.FindAttribute<AttributeType>(Boolean) Method

Indicates whether an attribute specified by the generic type parameter is associated with the type represented by the current IBaseInfo object.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v18.2.dll


AttributeType FindAttribute<AttributeType>(
    bool recursive
    where AttributeType : Attribute
Function FindAttribute(Of AttributeType As Attribute)(
    recursive As Boolean
) As AttributeType


Type Name Description
Boolean recursive

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


Type Description

A Attribute class descendant that represents the attribute specified by the generic type parameter and associated with the current type.

Type Parameters

Name Description

If an attribute of the specified type is not associated with the current type, the method returns null (Nothing in VB).

See Also