Skip to main content

XPTypeInfo.RemoveAttribute(Type) Method

Removes the attribute of the specified type.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public void RemoveAttribute(
    Type attributeType
)

Parameters

Name Type Description
attributeType Type

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

Remarks

The RemoveAttribute method removes the attribute of the specified type from the XPTypeInfo.Attributes collection. The RemoveAttribute method does nothing if the attribute of the specified type isn’t found in the collection.

To add a new attribute to the type use the XPTypeInfo.AddAttribute method.

See Also