ArcObjects Library Reference  (Geometry)    

IGeometryBridge.SetGeometries Method

Replaces all geometries in the collection with the specified number of references to those in the input array.

[Visual Basic 6.0]
Sub SetGeometries(
    ByVal pGeometryCollection As IGeometryCollection, _
    ByVal newGeometries() As IGeometry _
)
[Visual Basic .NET]
Public Sub SetGeometries ( _
    ByVal pGeometryCollection As IGeometryCollection, _
    ByRef newGeometries As IGeometry[] _
)
[C#]
public void SetGeometries (
    IGeometryCollection pGeometryCollection,
    ref IGeometry[] newGeometries
);
[Java]
public void setGeometries (
    IGeometryCollection pGeometryCollection,
    IGeometry[] newGeometries
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SetGeometries(
  IGeometryCollection* pGeometryCollection,
  Array* newGeometries
);
[C++]

Parameters

pGeometryCollection [in]

  pGeometryCollection is a parameter of type IGeometryCollection

newGeometries [in]

  newGeometries is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of IGeometryCollection::SetGeometries .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_SetGeometries_Example