StringPrototype.match(Object, VsaEngine, Object) Methode

Definitie

Hiermee wordt een zoekopdracht uitgevoerd 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 System::Object ^ match(System::Object ^ thisob, Microsoft::JScript::Vsa::VsaEngine ^ engine, System::Object ^ regExp);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasEngine | Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_match)]
public static object match(object thisob, Microsoft.JScript.Vsa.VsaEngine engine, object regExp);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasEngine | Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_match)>]
static member match : obj * Microsoft.JScript.Vsa.VsaEngine * obj -> obj
Public Shared Function match (thisob As Object, engine As VsaEngine, regExp As Object) As Object

Parameters

thisob
Object

Het object waarop deze methode handelt.

engine
VsaEngine

Een verwijzing naar de scriptengine.

regExp
Object

Het reguliere expressiepatroon dat moet worden gezocht.

Retouren

Het resultaat van de zoekopdracht naar het reguliere expressiepatroon.

Kenmerken

Van toepassing op

Zie ook