NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CodeGenerator.QuoteLiteralString

Provides conversion to formatting with escape codes.

[Visual Basic]
MustOverride Protected Function QuoteLiteralString( _
   ByVal value As String, _
   ByVal escapeUnicode As Boolean _
) As String
[C#]
protected abstract string QuoteLiteralString(
   string value,
   bool escapeUnicode
);
[C++]
protected: virtual String* QuoteLiteralString(
   String* value,
   bool escapeUnicode
) = 0;
[JScript]
protected abstract function QuoteLiteralString(
   value : String,
   escapeUnicode : Boolean
) : String;

Parameters

value
The string to convert.
escapeUnicode
[To be supplied.]

Return Value

The converted string.

Remarks

If the value of escapeUnicode is set to true, character values above 80 will be converted to use escape code formatting.

See Also

CodeGenerator Class | CodeGenerator Members | System.CodeDOM.Compiler Namespace