XPTypeInfo.HasAttribute(Type) Method
In This Article
Determines whether the type has an attribute of the specified type.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
attribute |
Type | A Type descendant which represents the type of the attribute to find. |
#Returns
Type | Description |
---|---|
Boolean | true if the type has an attribute of the specified type; otherwise, false. |
See Also