Modifier

Partager via


Instanceof.JScriptInstanceof(Object, Object) Method

Definition

Determines whether the first specified object can be coerced to the type of the second specified object.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static bool JScriptInstanceof(System::Object ^ v1, System::Object ^ v2);
public static bool JScriptInstanceof (object v1, object v2);
static member JScriptInstanceof : obj * obj -> bool
Public Shared Function JScriptInstanceof (v1 As Object, v2 As Object) As Boolean

Parameters

v1
Object

The object to coerce to the type of object v2.

v2
Object

The object that has the desired type.

Returns

true if v1 can be coerced to the type of object v2; otherwise, false.

Applies to