Bewerken

Share via


Operators.RightShiftObject(Object, Object) Method

Definition

Represents the Visual Basic arithmetic right shift (>>) operator.

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

public:
 static System::Object ^ RightShiftObject(System::Object ^ Operand, System::Object ^ Amount);
public static object RightShiftObject (object Operand, object Amount);
public static object? RightShiftObject (object? Operand, object? Amount);
static member RightShiftObject : obj * obj -> obj
Public Shared Function RightShiftObject (Operand As Object, Amount As Object) As Object

Parameters

Operand
Object

Required. Integral numeric expression. The bit pattern to be shifted. The data type must be an integral type (SByte, Byte, Short, UShort, Integer, UInteger, Long, or ULong).

Amount
Object

Required. Numeric expression. The number of bits to shift the bit pattern. The data type must be Integer or widen to Integer.

Returns

An integral numeric value. The result of shifting the bit pattern. The data type is the same as that of Operand.

Remarks

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

Applies to

See also