This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopology Interface > ITopology.RemoveClass Method (ArcObjects .NET 10.5 SDK) |
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
An error will be raised if RemoveClass is called on a versioned topology.
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.