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


IDataset.Rename Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDataset Interface > IDataset.Rename Method
ArcGIS Developer Help

IDataset.Rename Method

Renames this Dataset.

[Visual Basic .NET]
Public Sub Rename ( _
    ByVal Name As String _
)
[C#]
public void Rename (
    string Name
);
[C++]
HRESULT Rename(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

Remarks

IDataset::Rename does not support the renaming of Graph objects such as a Geometric Network.  In addition, certain feature classes, such as network feature classes, cannot be renamed.

See Also

IDataset Interface