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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應