This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatasetEdit Interface > IDatasetEdit.IsBeingEdited Method (ArcObjects .NET 10.4 SDK) |
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
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).