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

XPTypeInfo.RemoveAttribute(Type) Method

Removes the attribute of the specified type.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public void RemoveAttribute(Type attributeType)
Public Sub RemoveAttribute(attributeType As Type)
public void RemoveAttribute(Type attributeType)
Public Sub RemoveAttribute(attributeType As Type)

Parameters

Name Type Description
attributeType Type

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

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