This document is archived and information here might be outdated. Recommended version. |
Replaces all geometries in the collection with references to geometries from the input collection.
[Visual Basic .NET] Public Sub SetGeometryCollection ( _ ByVal newParts As IGeometryCollection _ )
[C#] public void SetGeometryCollection ( IGeometryCollection newParts );
[C++]
HRESULT SetGeometryCollection(
IGeometryCollection* newParts
);
[C++]
Parameters newParts
newParts is a parameter of type IGeometryCollection*
SetGeometryCollection copies the geometry references from one GeometryCollection to another.
VB Example: Set GeometryCollection m_pGeoColl_A as m_pGeoColl_B
m_pGeoColl_A.SetGeometryCollection m_pGeoColl_B