This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceEvents Interface > IWorkspaceEvents.OnRenameDataset Event (ArcObjects .NET 10.4 SDK) |
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
The OnRenameDataset method is fired after a dataset has been renamed.