XPTypeInfo.HasAttribute(String) Method
Determines whether the type has the specified attribute.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A String value which specifies the name of the attribute to find. |
Returns
Type | Description |
---|---|
Boolean | true if the type has the specified attribute; otherwise, false. |
Remarks
The HasAttribute method scans the XPTypeInfo.Attributes collection for an element whose name matches the name parameter. Note the check is case-sensitive.
See Also