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


IGeometryCollection.RemoveGeometries Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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