Aracılığıyla paylaş


ObjectPrototype.isPrototypeOf(Object, Object) Yöntem

Tanım

Belirtilen ilk nesnenin, belirtilen ikinci nesnenin türü olarak örneği oluşturulup oluşturulamayacağını belirler.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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

Parametreler

thisob
Object

Bu yöntemin üzerinde işlem yaptığı nesne.

ob
Object

İstenen türe sahip nesne.

Döndürülenler

truedevralma hiyerarşisinde thisobiseob; değilse, false.

Öznitelikler

Şunlara uygulanır