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


IWorkspaceEdit2.IsInEditOperation Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceEdit2.IsInEditOperation Property

Is the workspace currently in an edit operation?.

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

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

Product Availability

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

Remarks

Returns a Boolean corresponding to if the workspace is currently in an edit operation. This Boolean property should be used when deciding to start an edit operation.

See Also

IWorkspaceEdit2 Interface

.NET Samples

Curve conversion add-in (Code Files: CurveConversionDockWin)

.NET Related Topics

Editing with the geodatabase API | Managing edit sessions and edit operations | Updating attributes of existing features