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
- 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.