CodeIdentifiers::IsInUse Method (String^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Determines whether a specified name is already being used within the CodeIdentifiers instance's scope.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- identifier
-
Type:
System::String^
The name to check for use within the CodeIdentifiers instance's scope.
The input name is not unique if it was passed previously to the Add, AddUnique, or AddReserved method, or if it was generated by the AddUnique method.
If you want to control the names of code entities that are bound to XML Schema or Web service definitions, use the associated attributes rather than creating an instance of the CodeIdentifiers class. For a complete list, see Attributes That Control XML Serialization.
.NET Framework
Available since 1.1
Available since 1.1
Show: