ObjectPrototype::isPrototypeOf Method (Object^, Object^)

 

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.

Namespace:   Microsoft.JScript
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::Boolean

true if ob is in the inheritance hierarchy of thisob; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: