ArcObjects Library Reference (Geoprocessing)  

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