System.Xml.Serialization.CodeIdentifiers: Method Members

The methods of System.Xml.Serialization.CodeIdentifiers are listed below. For a list of all members, see the CodeIdentifiers Members list.

See Also: Inherited members from System.Object

Public Methods

Add(string, object)

Adds a named code entity or type mapping to the System.Xml.Serialization.CodeIdentifiers instance's scope.

AddReserved(string)

Prevents a specified name from being used within the System.Xml.Serialization.CodeIdentifiers instance's scope.

AddUnique(string, object) : string

Adds a named code entity or type mapping to the System.Xml.Serialization.CodeIdentifiers 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 System.Xml.Serialization.CodeIdentifiers instance's scope.

IsInUse(string) : bool

Determines whether a specified name is already being used within the System.Xml.Serialization.CodeIdentifiers instance's scope.

MakeRightCase(string) : string

Ensures that the input is of the correct case by modifying the name according to the value of the CodeIdentifiers.UseCamelCasing property.

MakeUnique(string) : string

Determines whether the input name conflicts with another name within the System.Xml.Serialization.CodeIdentifiers instance's scope and, if it does, generates a modified string.

Remove(string)

Removes from the System.Xml.Serialization.CodeIdentifiers instance's scope the code entity or type mapping identified by the input name.

RemoveReserved(string)

Removes the input name from the System.Xml.Serialization.CodeIdentifiers instance's reserved names.

ToArray(Type) : object

Returns an array of the code entities or type mappings within the System.Xml.Serialization.CodeIdentifiers instance's scope.