Bewerken

Share via


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

Definition

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 which 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