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

IWorkspaceEvents.OnRenameDataset Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceEvents Interface > IWorkspaceEvents.OnRenameDataset Event
ArcGIS Developer Help

IWorkspaceEvents.OnRenameDataset Event

This event is fired when a dataset is renamed.

[Visual Basic .NET]
Public Event OnRenameDataset As OnRenameDatasetEventHandler
public event OnRenameDatasetEventHandler OnRenameDataset
HRESULT OnRenameDataset(
  IDataset* Dataset,
  BSTR oldName,
  BSTR newName
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.


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

See Also

IWorkspaceEvents Interface