Int32.RotateLeft(Int32, Int32) Method
Definition
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 int RotateLeft(int value, int rotateAmount) = System::Numerics::IBinaryInteger<int>::RotateLeft;
public static int RotateLeft (int value, int rotateAmount);
static member RotateLeft : int * int -> int
Public Shared Function RotateLeft (value As Integer, rotateAmount As Integer) As Integer
Parameters
- value
- Int32
The value which is rotated left by rotateAmount
.
- rotateAmount
- Int32
The amount by which value
is rotated left.
Returns
The result of rotating value
left by rotateAmount
.
Implements
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.