Επεξεργασία

Κοινή χρήση μέσω


IShiftOperators<TSelf,TOther,TResult>.RightShift(TSelf, TOther) Operator

Definition

Shifts a value right by a given amount.

public:
 static TResult operator >>(TSelf value, TOther shiftAmount);
public static abstract TResult operator >> (TSelf value, TOther shiftAmount);
static member ( >>> ) : 'Self * 'Other -> 'Result
Public Shared Operator >> (value As TSelf, shiftAmount As TOther) As TResult

Parameters

value
TSelf

The value that is shifted right by shiftAmount.

shiftAmount
TOther

The amount by which value is shifted right.

Returns

TResult

The result of shifting value right by shiftAmount.

Remarks

This operation is meant to perform a signed (otherwise known as an arithmetic) right shift on signed types.

Applies to