ObjectPrototype.isPrototypeOf(Object, Object) Methode

Definitie

Bepaalt of het eerste opgegeven object kan worden geïnstantieerd als het type van het tweede opgegeven object.

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

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

Parameters

thisob
Object

Het object waarop deze methode handelt.

ob
Object

Het object met het gewenste type.

Retouren

trueals ob zich in de overnamehiërarchie van thisob; anders bevindt. false

Kenmerken

Van toepassing op