Partager via


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

'Déclaration
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

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace