Edit

Share via


Operators.SubtractObject(Object, Object) Method

Definition

Represents the Visual Basic subtraction (-) operator.

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

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

Parameters

Left
Object

Required. Any numeric expression.

Right
Object

Required. Any numeric expression.

Returns

The difference between 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