SqlHelpers.GetStringContainsPattern(String, Char) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a search pattern string where the specified text can have other text before and following it.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ GetStringContainsPattern(System::String ^ text, char escape);
public static string GetStringContainsPattern (string text, char escape);
static member GetStringContainsPattern : string * char -> string
Public Shared Function GetStringContainsPattern (text As String, escape As Char) As String
Parameters
- text
- String
The string to insert into the search pattern string.
- escape
- Char
The character to use to escape wildcard characters.
Returns
A search pattern string that contains the specified string and the '%' character before and after it.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.