ArcObjects Library Reference (Geometry)  

IGeometryCollection.AddGeometries Method

Adds references to the specified geometries. This method is intended for internal use only.

[Visual Basic .NET]
Public Sub AddGeometries ( _
    ByVal Count As Integer, _
    ByRef newGeometries As IGeometry _
)
[C#]
public void AddGeometries (
    int Count,
    ref IGeometry newGeometries
);
[C++]
HRESULT AddGeometries(
  long Count,
  IGeometry** newGeometries
);
[C++]

Parameters

Count   Count is a parameter of type long newGeometries [in]

  newGeometries is a parameter of type IGeometry

Product Availability

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

Remarks


The geometries are added last in the list. Use an array of geometries (IGeometry) and the exact number (count ) of elements in the array. Exceeding the boundary of the array will cause an application error. If you don't want to place the geometries last in the collection then use the InsertGeometries method.

[C#]

When using C# you must use the IGeometryBridge interface to call this method.

[Visual Basic .NET]

When using VBNET you must use the IGeometryBridge interface to call this method.

See Also

IGeometryCollection Interface