CodeIdentifier.MakePascal(String) Method

Definition

Produces a Pascal-case string from an input string.

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

C#
public static string MakePascal(string identifier);

Parameters

identifier
String

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 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.

Applies to