ArcObjects Library Reference (Geoprocessing)  

IMdModel.CreateUniqueElementName Method

Generates a new unique name that may be used for adding a new model element to the model.

[Visual Basic .NET]
Public Function CreateUniqueElementName ( _
    ByVal Name As String _
) As String
[C#]
public string CreateUniqueElementName (
    string Name
);
[C++]
HRESULT CreateUniqueElementName(
  BSTR Name,
  BSTR* pName
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR pName [out, retval]   pName is a parameter of type BSTR

Product Availability

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

See Also

IMdModel Interface