Edit

Share via


Operators.AddObject(Object, Object) Method

Definition

Represents the Visual Basic addition (+) operator.

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

public:
 static System::Object ^ AddObject(System::Object ^ Left, System::Object ^ Right);
public static object AddObject(object Left, object Right);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")]
public static object? AddObject(object? Left, object? Right);
public static object? AddObject(object? Left, object? Right);
static member AddObject : obj * obj -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")>]
static member AddObject : obj * obj -> obj
Public Shared Function AddObject (Left As Object, Right As Object) As Object

Parameters

Left
Object

Required. Any numeric expression.

Right
Object

Required. Any numeric expression.

Returns

The sum of Left and Right.

Attributes

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to

See also