StringPrototype.match(Object, VsaEngine, Object) Methode

Definition

Führt eine Suche nach dem angegebenen Muster für reguläre Ausdrücke für das angegebene Objekt aus.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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

Parameter

thisob
Object

Das Objekt, auf das diese Methode ausgeführt wird.

engine
VsaEngine

Ein Verweis auf das Skriptmodul.

regExp
Object

Das Muster für reguläre Ausdrücke, nach dem gesucht werden soll.

Gibt zurück

Das Ergebnis der Suche nach dem Muster für reguläre Ausdrücke.

Attribute

Gilt für:

Weitere Informationen