ArcObjects Library Reference (GeoDatabase)  

IWorkspaceEvents.OnRenameDataset Event

This event is fired when a dataset is renamed.

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

Parameters

pDataset [in]

  pDataset 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