CodeGenerationUtilities.WrapAsCSharpString Method
Wrap the given string into a string literal in C# syntax.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
‘선언
Public Shared Function WrapAsCSharpString ( _
input As String _
) As String
public static string WrapAsCSharpString(
string input
)
public:
static String^ WrapAsCSharpString(
String^ input
)
static member WrapAsCSharpString :
input:string -> string
public static function WrapAsCSharpString(
input : String
) : String
Parameters
- input
Type: System.String
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.