Share 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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
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: String

Return Value

Type: String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace