System.Xml.Serialization.CodeIdentifiers Members

The members of System.Xml.Serialization.CodeIdentifiers are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Xml.Serialization.CodeIdentifiers class.

Initializes a new instance of the System.Xml.Serialization.CodeIdentifiers class and determines whether code identifiers are case sensitive.

Public Properties

UseCamelCasingbool.

Gets or sets a value that indicates whether the instance uses camel case.

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.