Operators.RightShiftObject Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This API supports the .NET Framework 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)

Syntax

'Declaration
Public Shared Function RightShiftObject ( _
    Operand As Object, _
    Amount As Object _
) As Object
public static Object RightShiftObject(
    Object Operand,
    Object Amount
)

Parameters

  • Operand
    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).
  • Amount
    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.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.