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


IWorkspaceEvents.OnRenameDataset Event (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceEvents.OnRenameDataset Event

This event is fired when a dataset is renamed.

[Visual Basic .NET]
Public Event OnRenameDataset As OnRenameDatasetEventHandler
[C#]
public event OnRenameDatasetEventHandler OnRenameDataset
[C++]
HRESULT OnRenameDataset(
  IDataset* Dataset,
  BSTR oldName,
  BSTR newName
);
[C++]

Parameters Dataset [in]
Dataset is a parameter of type IDataset oldName [in] oldName is a parameter of type BSTR newName [in] newName is a parameter of type BSTR

Product Availability

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

Remarks

The OnRenameDataset method is fired after a dataset has been renamed.

See Also

IWorkspaceEvents Interface