Determines whether a specified name is already being used within the System.Xml.Serialization.CodeIdentifiers instance's scope.
- identifier
- The name to check for use within the System.Xml.Serialization.CodeIdentifiers instance's scope.
true if the name is already in use; otherwise, false.
The input name is not unique if it was passed previously to the CodeIdentifiers.Add(string, object), CodeIdentifiers.AddUnique(string, object), or CodeIdentifiers.AddReserved(string) method, or if it was generated by the CodeIdentifiers.AddUnique(string, object) 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 System.Xml.Serialization.CodeIdentifiers class. For a complete list, see Attributes That Control XML Serialization.