Urn.EscapeString 方法
An escape string for use in an XPathExpression. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
<ComVisibleAttribute(False)> _
Public Shared Function EscapeString ( _
value As String _
) As String
'用途
Dim value As String
Dim returnValue As String
returnValue = Urn.EscapeString(value)
[ComVisibleAttribute(false)]
public static string EscapeString(
string value
)
[ComVisibleAttribute(false)]
public:
static String^ EscapeString(
String^ value
)
[<ComVisibleAttribute(false)>]
static member EscapeString :
value:string -> string
public static function EscapeString(
value : String
) : String
參數
- value
型別:System.String
The string to which escape characters '\' will be added.
傳回值
型別:System.String
The new string with escape characters.