The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.

XPTypeInfo.HasAttribute(Type) Method

Determines whether the type has an attribute of the specified type.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public bool HasAttribute(Type attributeType)
Public Function HasAttribute(attributeType As Type) As Boolean
public bool HasAttribute(Type attributeType)
Public Function HasAttribute(attributeType As Type) As Boolean

Parameters

Name Type Description
attributeType Type

A Type descendant which represents the type of the attribute to find.

Parameters

Name Type Description
attributeType 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.

Returns

Type Description
Boolean

true if the type has an attribute of the specified type; otherwise, false.

See Also