System.Xml.Serialization.CodeIdentifier.MakePascal Method

Produces a Pascal-case string from an input string.

Syntax

public static string MakePascal (string identifier)

Parameters

identifier
The name of a code entity, such as a method parameter, typically taken from an XML element or attribute name.

Returns

A Pascal-case version of the parameter string.

Remarks

The CodeIdentifier.MakePascal(string) method converts the initial character from a lower-case to upper-case letter, if necessary.

You do not need to call this method directly.

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