CodeGenerator::QuoteSnippetString Method (String^)

 

Converts the specified string by formatting it with escape codes.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

protected:
virtual String^ QuoteSnippetString(
	String^ value
) abstract

Parameters

value
Type: System::String^

The string to convert.

Return Value

Type: System::String^

The converted string.

This method returns a modified version of the specified string that has been formatted with escape code characters. For example, /" might be used to represent ". These escape codes are used to replace elements of the specified string that might otherwise conflict with language syntax.

.NET Framework
Available since 1.1
Return to top
Show: