Muokkaa

Jaa


SqlHelpers.GetStringStartsWithPattern(String, Char) Method

Definition

Creates a search pattern string where the specified text can have other text after it but not before it.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::String ^ GetStringStartsWithPattern(System::String ^ text, char escape);
public static string GetStringStartsWithPattern (string text, char escape);
static member GetStringStartsWithPattern : string * char -> string
Public Shared Function GetStringStartsWithPattern (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 followed by the '%' character.

Applies to