This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPModelTool Interface > IGPModelTool.RenameElement Method (ArcObjects .NET 10.5 SDK) |
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