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


IGeometryCollection.RemoveGeometries Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryCollection Interface > IGeometryCollection.RemoveGeometries Method
ArcGIS Developer Help

IGeometryCollection.RemoveGeometries Method

Removes references to some geometries from this collection.

[Visual Basic .NET]
Public Sub RemoveGeometries ( _
    ByVal Index As Integer, _
    ByVal Count As Integer _
)
[C#]
public void RemoveGeometries (
    int Index,
    int Count
);
[C++]
HRESULT RemoveGeometries(
  long Index,
  long Count
);
[C++]
Parameters
Index 

Index is a parameter of type long Count
Count is a parameter of type long

Product Availability

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

Remarks

RemoveGeometries deletes count number of geometries from the index location.

See Also

IGeometryCollection Interface