共用方式為


CodeGenerationUtilities.WrapAsCSharpString(String) Method

Definition

Wrap the given string into a string literal in C# syntax.

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

Parameters

input
String

Returns

Applies to