This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Maintains a group of names for related code entities or type mappings that are generated by the .NET Framework's XML serialization infrastructure.
Assembly: System.Xml (in System.Xml.dll)
Thetype exposes the following members.
|Add||Adds a named code entity or type mapping to the instance's scope.|
|AddReserved||Prevents a specified name from being used within the instance's scope.|
|AddUnique||Adds a named code entity or type mapping to the instance's scope, ensuring that the name is unique within the scope.|
|Clear||Removes all code entities or type mappings, including their names, from the instance's scope.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|IsInUse||Determines whether a specified name is already being used within the instance's scope.|
|MakeRightCase||Ensures that the input is of the correct case by modifying the name according to the value of the UseCamelCasing property.|
|MakeUnique||Determines whether the input name conflicts with another name within the instance's scope and, if it does, generates a modified string.|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Remove||Removes from the instance's scope the code entity or type mapping identified by the input name.|
|RemoveReserved||Removes the input name from the instance's reserved names.|
|ToArray||Returns an array of the code entities or type mappings within the instance's scope.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The following list identifies tools and classes that use the :
The Web Services Description Language Tool (Wsdl.exe), or the ServiceDescriptionImporter class, while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document.
The XML Schema Definition Tool (Xsd.exe) tool while generating classes from XML Schema Definition (XSD) documents.
Instead of using the class directly, use the aforementioned tools or classes. If you want to control the names of code entities that are bound to XML Schema or Web service definitions, use the associated attributes.
Depending on its scope, a instance can be used to maintain the names of any of the items in the following list:
Types, methods, or fields.
The parameters and return value of a method corresponding to WSDL input and output messages.
Objects within a ServiceDescription instance that can be serialized to a WSDL document.
Typically, the class is used to avoid naming collisions between code entities within a particular scope, including collisions with the name of a containing entity.