編輯

共用方式為


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.

public:
 static System::String ^ MakePascal(System::String ^ identifier);
public static string MakePascal (string identifier);
static member MakePascal : string -> string
Public Shared Function MakePascal (identifier As String) As String

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