|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInFileOperationsClass Interface > IPlugInFileOperationsClass.Rename Method (ArcObjects .NET 10.5 SDK) | 
Renames this dataset.
[Visual Basic .NET] Public Function Rename ( _ ByVal ClassIndex As Integer, _ ByVal Name As String _ ) As String
[C#] public string Rename ( int ClassIndex, string Name );
[C++]
HRESULT Rename(
  long ClassIndex,
  BSTR Name,
  BSTR* newName
);
[C++]
Parameters ClassIndex [in] ClassIndex is a parameter of type long Name [in] Name is a parameter of type BSTR newName [out, retval] newName is a parameter of type BSTR