This document is archived and information here might be outdated.  Recommended version.


ITopology.RemoveClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopology Interface > ITopology.RemoveClass Method
ArcGIS Developer Help

ITopology.RemoveClass Method

Remove an object, feature, or attributed relationship class to the topology.

[Visual Basic .NET]
Public Sub RemoveClass ( _
    ByVal classToRemove As IClass _
)
[C#]
public void RemoveClass (
    IClass classToRemove
);
[C++]
HRESULT RemoveClass(
  IClass* classToRemove
);
[C++]
Parameters
classToRemove [in]

classToRemove is a parameter of type IClass*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Errors Returned

An error will be raised if RemoveClass is called on a versioned topology.

Remarks

Removes the specified class from the topology.  RemoveClass will remove any topology rules and errors associated with the class and will not result in the creation of a dirty area, nor will the state of the topology change.

See Also

ITopology Interface