IBinaryInteger.RotateRight(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 right by a given amount.

public:
 static override TSelf RotateRight(TSelf value, int rotateAmount);
public static virtual TSelf RotateRight(TSelf value, int rotateAmount);
static member RotateRight : 'Self * int -> 'Self
Public Shared Overrides Function RotateRight (value As TSelf, rotateAmount As Integer) As TSelf

Parameters

value

TSelf

The value that is rotated right by rotateAmount.

rotateAmount

Int32

The amount by which value is rotated right.

Returns

TSelf

The result of rotating value right by rotateAmount.

Applies to