CodeIdentifiers.AddReserved Method (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.

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

public void AddReserved(
	string identifier


Type: System.String

A name that will not be available within the CodeIdentifiersinstance's scope.

A reserved name can belong to a containing code entity, such as a type for which member names must also be generated.

.NET Framework
Available since 1.1
Return to top