Skip to main content

XPTypeInfo.RemoveAttribute(Type) Method

Removes the attribute of the specified type.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v21.2.dll


public void RemoveAttribute(
    Type attributeType


Name Type Description
attributeType Type

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


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