Redigera

Dela via


IBinaryInteger<TSelf>.RotateLeft(TSelf, Int32) Method

Definition

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 which is rotated left by rotateAmount.

rotateAmount
Int32

The amount by which value is rotated left.

Returns

TSelf

The result of rotating value left by rotateAmount.

Applies to