RegExpPrototype.test(Object, Object) Methode

Definitie

Test de zoekopdracht naar het opgegeven reguliere expressiepatroon op het opgegeven object.

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

public:
 static bool test(System::Object ^ thisob, System::Object ^ input);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.RegExp_test)]
public static bool test(object thisob, object input);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.RegExp_test)>]
static member test : obj * obj -> bool
Public Shared Function test (thisob As Object, input As Object) As Boolean

Parameters

thisob
Object

Het object waarop deze methode handelt.

input
Object

Het reguliere expressiepatroon dat moet worden gezocht.

Retouren

true als de zoekopdracht slaagt; anders, false.

Kenmerken

Van toepassing op

Zie ook