SqlHelpers.GetStringEndsWithPattern(String, Char) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個搜尋模式字串,指定文字可以前面有其他文字,但後面不會有。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
static System::String ^ GetStringEndsWithPattern(System::String ^ text, char escape);
public static string GetStringEndsWithPattern(string text, char escape);
static member GetStringEndsWithPattern : string * char -> string
Public Shared Function GetStringEndsWithPattern (text As String, escape As Char) As String
參數
- text
- String
插入搜尋模式字串的字串。
- escape
- Char
用來逃避萬用卡角色的角色。
傳回
一個包含 '%'字元後接指定字串的搜尋模式字串。