XsltFunctions.Contains(String, String) Methode

Definitie

contains Implementeert de XPath-functie volgens de W3C-specificatie.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 static bool Contains(System::String ^ s1, System::String ^ s2);
public static bool Contains(string s1, string s2);
static member Contains : string * string -> bool
Public Shared Function Contains (s1 As String, s2 As String) As Boolean

Parameters

s1
String

De tekenreeks waarin moet worden gevonden s2.

s2
String

De tekenreeks die moet worden gevonden in s1.

Retouren

true als de eerste argumenttekenreeks de tweede argumenttekenreeks bevat; anders, false.

Van toepassing op