Share via


BitOperations.RotateRight Metodo

Definizione

Overload

RotateRight(UInt32, Int32)

Ruota il valore specificato a destra del numero di bit specificato.

RotateRight(UInt64, Int32)

Ruota il valore specificato a destra del numero di bit specificato.

RotateRight(UIntPtr, Int32)

Ruota il valore specificato a destra del numero di bit specificato. Simile al comportamento dell'istruzione x86 ROR.

RotateRight(UInt32, Int32)

Origine:
BitOperations.cs
Origine:
BitOperations.cs
Origine:
BitOperations.cs

Importante

Questa API non è conforme a CLS.

Ruota il valore specificato a destra del numero di bit specificato.

public:
 static System::UInt32 RotateRight(System::UInt32 value, int offset);
[System.CLSCompliant(false)]
public static uint RotateRight (uint value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : uint32 * int -> uint32
Public Shared Function RotateRight (value As UInteger, offset As Integer) As UInteger

Parametri

value
UInt32

Valore da ruotare.

offset
Int32

Numero di bit in base a cui ruotare. Qualsiasi valore non compreso nell'intervallo [0..31] viene trattato come mod 32 congruo.

Restituisce

Il valore ruotato.

Attributi

Commenti

Questo metodo è simile al comportamento dell'istruzione x86 ROR.

Si applica a

RotateRight(UInt64, Int32)

Origine:
BitOperations.cs
Origine:
BitOperations.cs
Origine:
BitOperations.cs

Importante

Questa API non è conforme a CLS.

Ruota il valore specificato a destra del numero di bit specificato.

public:
 static System::UInt64 RotateRight(System::UInt64 value, int offset);
[System.CLSCompliant(false)]
public static ulong RotateRight (ulong value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : uint64 * int -> uint64
Public Shared Function RotateRight (value As ULong, offset As Integer) As ULong

Parametri

value
UInt64

Valore da ruotare.

offset
Int32

Numero di bit in base a cui ruotare. Qualsiasi valore non compreso nell'intervallo [0..63] viene trattato come mod 64 congruo.

Restituisce

Il valore ruotato.

Attributi

Commenti

Questo metodo è simile al comportamento dell'istruzione x86 ROR.

Si applica a

RotateRight(UIntPtr, Int32)

Origine:
BitOperations.cs
Origine:
BitOperations.cs
Origine:
BitOperations.cs

Importante

Questa API non è conforme a CLS.

Ruota il valore specificato a destra del numero di bit specificato. Simile al comportamento dell'istruzione x86 ROR.

public:
 static UIntPtr RotateRight(UIntPtr value, int offset);
[System.CLSCompliant(false)]
public static UIntPtr RotateRight (UIntPtr value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : unativeint * int -> unativeint
Public Shared Function RotateRight (value As UIntPtr, offset As Integer) As UIntPtr

Parametri

value
UIntPtr

unativeint

Valore da ruotare.

offset
Int32

Numero di bit in base a cui ruotare. Qualsiasi valore all'esterno dell'intervallo [0..31] viene considerato come congruente mod 32 in un processo a 32 bit e qualsiasi valore all'esterno dell'intervallo [0..63] viene considerato come congruente mod 64 in un processo a 64 bit.

Restituisce

UIntPtr

unativeint

Il valore ruotato.

Attributi

Si applica a