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


IGPModelTool.RenameElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPModelTool Interface > IGPModelTool.RenameElement Method
ArcGIS Developer Help

IGPModelTool.RenameElement Method

Rename element.

[Visual Basic .NET]
Public Sub RenameElement ( _
    ByVal oldName As String, _
    ByVal newName As String _
)
[C#]
public void RenameElement (
    string oldName,
    string newName
);
[C++]
HRESULT RenameElement(
  BSTR oldName,
  BSTR newName
);
[C++]
Parameters
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.

See Also

IGPModelTool Interface