CodeIdentifiers Class

 

This API supports the product 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.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

System.Object
  System.Xml.Serialization.CodeIdentifiers

public class CodeIdentifiers

NameDescription
System_CAPS_pubmethodCodeIdentifiers()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CodeIdentifiers class.

System_CAPS_pubmethodCodeIdentifiers(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CodeIdentifiers class and determines whether code identifiers are case sensitive.

NameDescription
System_CAPS_pubpropertyUseCamelCasing

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the instance uses camel case.

NameDescription
System_CAPS_pubmethodAdd(String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a named code entity or type mapping to the CodeIdentifiers instance's scope.

System_CAPS_pubmethodAddReserved(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Prevents a specified name from being used within the CodeIdentifiers instance's scope.

System_CAPS_pubmethodAddUnique(String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a named code entity or type mapping to the CodeIdentifiers instance's scope, ensuring that the name is unique within the scope.

System_CAPS_pubmethodClear()

This API supports the product infrastructure and is not intended to be used directly from your code. Removes all code entities or type mappings, including their names, from the CodeIdentifiers instance's scope.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsInUse(String)

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.

System_CAPS_pubmethodMakeRightCase(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Ensures that the input is of the correct case by modifying the name according to the value of the UseCamelCasing property.

System_CAPS_pubmethodMakeUnique(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the input name conflicts with another name within the CodeIdentifiers instance's scope and, if it does, generates a modified string.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemove(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes from the CodeIdentifiers instance's scope the code entity or type mapping identified by the input name.

System_CAPS_pubmethodRemoveReserved(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the input name from the CodeIdentifiers instance's reserved names.

System_CAPS_pubmethodToArray(Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an array of the code entities or type mappings within the CodeIdentifiers instance's scope.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The following list identifies tools and classes that use the CodeIdentifiers:

Instead of using the CodeIdentifiers 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 CodeIdentifiers 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.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: