XPTypeInfo.HasAttribute(Type) Method

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

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.2.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