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


IDatasetEdit.IsBeingEdited Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDatasetEdit.IsBeingEdited Method

True if the dataset is being edited.

[Visual Basic .NET]
Public Function IsBeingEdited ( _
) As Boolean
[C#]
public bool IsBeingEdited (
);
[C++]
HRESULT IsBeingEdited(
  VARIANT_BOOL* IsBeingEdited
);
[C++]

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

Product Availability

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

Remarks

Once an edit session has been started on a workspace, the IsBeingEdited method on the IDatasetEdit interface can be used to determine if a particular dataset is participating in the edit session.

The reasons why a dataset may not participate include the connected user has no privileges or permission to edit the dataset, the connected user is not licensed to edit this type of dataset, or the dataset is not versioned but a versioned edit session has been started (or vice versa).

See Also

IDatasetEdit Interface