Επεξεργασία

Κοινή χρήση μέσω


NumericBinary.DoOp(Object, Object, JSToken) Method

Definition

Performs the specified binary operation on the specified numeric operands.

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

public:
 static System::Object ^ DoOp(System::Object ^ v1, System::Object ^ v2, Microsoft::JScript::JSToken operatorTok);
public static object DoOp (object v1, object v2, Microsoft.JScript.JSToken operatorTok);
static member DoOp : obj * obj * Microsoft.JScript.JSToken -> obj
Public Shared Function DoOp (v1 As Object, v2 As Object, operatorTok As JSToken) As Object

Parameters

v1
Object

The first operand.

v2
Object

The second operand.

operatorTok
JSToken

One of the JSToken enumeration values. Specifies the operation to perform.

Returns

The result of the operation.

Applies to