CodeIdentifier.MakePascal(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.