EscapeSequence.UnescapeLiteral Method
Tests the specified string literal against each escape sequence and returns the unescaped string literal.
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Shared Function UnescapeLiteral ( _
value As String, _
<OutAttribute> ByRef isUnicode As Boolean _
) As String
'Usage
Dim value As String
Dim isUnicode As Boolean
Dim returnValue As String
returnValue = EscapeSequence.UnescapeLiteral(value, _
isUnicode)
public static string UnescapeLiteral(
string value,
out bool isUnicode
)
public:
static String^ UnescapeLiteral(
String^ value,
[OutAttribute] bool% isUnicode
)
static member UnescapeLiteral :
value:string *
isUnicode:bool byref -> string
public static function UnescapeLiteral(
value : String,
isUnicode : boolean
) : String
Parameters
- value
Type: System.String
The string literal to test.
- isUnicode
Type: System.Boolean%
true if the string literal is a Unicode string; otherwise, false.
Return Value
Type: System.String
The specified string with the escape characters removed.