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


IFeature.ShapeCopy Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeature Interface > IFeature.ShapeCopy Property
ArcGIS Developer Help

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 feature�s 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

.NET Samples

Custom reshape polyline edit task Implementing an XML builder external component StreetMap routing