Operators.RightShiftObject Method (Object, Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static object RightShiftObject(
	object Operand,
	object Amount


Type: System.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).

Type: System.Object

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

Return Value

Type: System.Object

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

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone
Available since 8.1
Return to top