CodeIdentifier.MakePascal Method (String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Produces a Pascal-case string from an input string.

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

public static string MakePascal(
	string identifier
)

Parameters

identifier
Type: System.String

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

Return Value

Type: System.String

A Pascal-case version of the parameter string.

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

You do not need to call this method directly.

.NET Framework
Available since 1.1
Return to top
Show: