Edit

Share via


OpenTypeMethods.Add(Object, Object) Method

Definition

Adds two values.

public:
 static System::Object ^ Add(System::Object ^ left, System::Object ^ right);
public static object Add (object left, object right);
static member Add : obj * obj -> obj
Public Shared Function Add (left As Object, right As Object) As Object

Parameters

left
Object

First value to add.

right
Object

Second value to add.

Returns

The result of the arithmetic operation.

Remarks

The Add method adds two values without overflow checking.

Applies to