ActiveReports 12
ShiftRightObj Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace > ObjectType Class : ShiftRightObj Method
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).
Required. Numeric expression. The number of bits to shift the bit pattern. The data type must be Integer or widen to Integer.
Performs an arithmetic right shift (>>) operation.
Syntax
'Declaration
 
Public Shared Function ShiftRightObj( _
   ByVal o1 As Object, _
   ByVal amount As Integer _
) As Object
public static object ShiftRightObj( 
   object o1,
   int amount
)

Parameters

o1
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
Required. Numeric expression. The number of bits to shift the bit pattern. The data type must be Integer or widen to Integer.

Return Value

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

Reference

ObjectType Class
ObjectType Members