NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Regex.IsMatch (String)

[Visual Basic]
Overloads Public Function IsMatch( _
   ByVal input As String _
) As Boolean
[C#]
public bool IsMatch(
   string input
);
[C++]
public: bool IsMatch(
   String* input
);
[JScript]
public function IsMatch(
   input : String
) : Boolean;

Parameters

input
String containing the text to search.

Return Value

Remarks

These methods are exactly equivalent to (Regex.Match(?).Success). They are supplied for convenience, since a common usage of regular expressions is simply to test the presence of a match and disregard the details.

The static methods are equivalent to constructing a Regex with the specified pattern and calling the instance method IsMatch. The static methods are provided for convenience to allow an isolated, single use of a regular expression without explicitly creating a Regex object.

See Also

Regex Class | Regex Members | System.Text.RegularExpressions Namespace | Regex.IsMatch Overload List