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


IFeatureClassEdit.CanEditWithProjection Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFeatureClassEdit.CanEditWithProjection Property

Indicates if the associated feature class can be edited in projected spaces.

[Visual Basic .NET]
Public ReadOnly Property CanEditWithProjection As Boolean
[C#]
public bool CanEditWithProjection {get;}
[C++]
HRESULT get_CanEditWithProjection(
  VARIANT_BOOL* IsEditable
);
[C++]

Parameters IsEditable [out, retval] IsEditable is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

ArcMap supports the editing of simple features in a different spatial reference than that of the feature dataset. If the associated feature class is of type esriFTSimple, editing of the feature class in different spatial reference can be prevented by implementing the CanEditWithProjection property and returning False.

See Also

IFeatureClassEdit Interface | IClassExtension Interface | ISpatialReference Interface