ArcObjects Library Reference (Geoprocessing)  

IMdModel.VerifyUniqueElementName Method

Returns whether or not the model already contains a model element by the given name.

[Visual Basic .NET]
Public Function VerifyUniqueElementName ( _
    ByVal Name As String _
) As Boolean
[C#]
public bool VerifyUniqueElementName (
    string Name
);
[C++]
HRESULT VerifyUniqueElementName(
  BSTR Name,
  VARIANT_BOOL* pUnique
);
[C++]

Parameters

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

Product Availability

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

See Also

IMdModel Interface