IShiftOperators<TSelf,TOther,TResult>.RightShift(TSelf, TOther) Operator
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- value
- TSelf
The value that is shifted right by shiftAmount
.
- shiftAmount
- TOther
The amount by which value
is shifted right.
The result of shifting value
right by shiftAmount
.
This operation is meant to perform a signed (otherwise known as an arithmetic) right shift on signed types.
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: