IBinaryInteger.RotateLeft(TSelf, Int32) Method (System.Numerics) (original) (raw)
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.
Rotates a value left by a given amount.
public:
static override TSelf RotateLeft(TSelf value, int rotateAmount);
public static virtual TSelf RotateLeft(TSelf value, int rotateAmount);
static member RotateLeft : 'Self * int -> 'Self
Public Shared Overrides Function RotateLeft (value As TSelf, rotateAmount As Integer) As TSelf
Parameters
value
TSelf
The value that is rotated left by rotateAmount
.
rotateAmount
The amount by which value
is rotated left.
Returns
TSelf
The result of rotating value
left by rotateAmount
.