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


IGraph.DeleteSet Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGraph Interface > IGraph.DeleteSet Method
ArcGIS Developer Help

IGraph.DeleteSet Method

Removes the set of Feature from the graph.

[Visual Basic .NET]
Public Sub DeleteSet ( _
    ByVal featuresToDelete As ISet _
)
[C#]
public void DeleteSet (
    ISet featuresToDelete
);
[C++]
HRESULT DeleteSet(
  ISet* featuresToDelete
);
[C++]
Parameters
featuresToDelete [in]

featuresToDelete is a parameter of type ISet*

Product Availability

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

Errors Returned

If not performed in an edit session, DeleteSet will return the error :- 2147216556, FDO_E_OBJECTCLASS_REQUIRES_AN_EDIT_SESSION.

See Also

IGraph Interface | IWorkspaceEdit Interface | IWorkspaceEditEvents Interface | ISpatialCacheManager Interface | IFeatureClass.CreateFeature Method | Editor Class