ArcGIS Developer Help  (GeoDatabase)    

IDatasetEdit.IsBeingEdited Method

True if the dataset is being edited.

[Visual Basic 6.0]
Function IsBeingEdited As Boolean
[Visual Basic .NET]
Public Function IsBeingEdited ( _
) As Boolean
[C#]
public bool IsBeingEdited (
);
[Java]
public Boolean isBeingEdited (
)
throws
    IOException,
    AutomationException
[C++]
HRESULT IsBeingEdited(
  VARIANT_BOOL* pIsBeingEdited
);
[C++]

Parameters

pIsBeingEdited [out, retval]

  pIsBeingEdited is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

An edit session is begun on a Workspace using IWorkspaceEdit::StartEditing method. 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.

See Also

IDatasetEdit Interface

 


Feedback Send feedback on this page