ObjectPrototype::isPrototypeOf Method (Object^, Object^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Determines whether the first specified object can be instantiated as the type of the second specified object.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, JSBuiltin::Object_isPrototypeOf)] static bool isPrototypeOf( Object^ thisob, Object^ ob )
Parameters
- thisob
-
Type:
System::Object^
The object that this method is acting upon.
- ob
-
Type:
System::Object^
The object that has the desired type.
Return Value
Type: System::Booleantrue if ob is in the inheritance hierarchy of thisob; otherwise, false.
.NET Framework
Available since 1.1
Available since 1.1
Show: