System.Xml.Serialization.CodeIdentifiers.AddReserved Method

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

Syntax

public void AddReserved (string identifier)

Parameters

identifier
A name that will not be available within the System.Xml.Serialization.CodeIdentifiers instance's scope.

Remarks

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

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0