ArcObjects Library Reference (GeoDatabase)  

IFeature.ShapeCopy Property

A cloned copy of the default shape for the feature.

[Visual Basic .NET]
Public ReadOnly Property ShapeCopy As IGeometry
[C#]
public IGeometry ShapeCopy {get;}
[C++]
HRESULT get_ShapeCopy(
  IGeometry** Shape
);
[C++]

Parameters

Shape [out, retval]

  Shape is a parameter of type IGeometry

Product Availability

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

Remarks

The ShapeCopy property is a cloned copy of the features Shape. When modifying the geometry of a feature or a set of features, use the ShapeCopy property to obtain a copy of the feature's geometry, perform the modification on the geometries, then apply the modifications by setting the geometry to the Shape property.

See Also

IFeature Interface