Interlocked.And Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| And(Int32, Int32) |
"ands" bit per bit due interi con segno a 32 bit e sostituisce il primo intero con il risultato, come operazione atomica. |
| And(Int64, Int64) |
"ands" bit per bit due interi con segno a 64 bit e sostituisce il primo intero con il risultato, come operazione atomica. |
| And(UInt32, UInt32) |
"ands" bit per bit due interi senza segno a 32 bit e sostituisce il primo intero con il risultato, come operazione atomica. |
| And(UInt64, UInt64) |
"ands" bit per bit due interi senza segno a 64 bit e sostituisce il primo intero con il risultato, come operazione atomica. |
| And<T>(T, T) |
And(Int32, Int32)
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
"ands" bit per bit due interi con segno a 32 bit e sostituisce il primo intero con il risultato, come operazione atomica.
public:
static int And(int % location1, int value);
public static int And(ref int location1, int value);
static member And : int * int -> int
Public Shared Function And (ByRef location1 As Integer, value As Integer) As Integer
Parametri
- location1
- Int32
Variabile contenente il primo valore da combinare. Il risultato viene archiviato in location1.
- value
- Int32
Valore da combinare con l'intero in location1.
Valori restituiti
Valore originale in location1.
Eccezioni
L'indirizzo di location1 è un null puntatore.
Si applica a
And(Int64, Int64)
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
"ands" bit per bit due interi con segno a 64 bit e sostituisce il primo intero con il risultato, come operazione atomica.
public:
static long And(long % location1, long value);
public static long And(ref long location1, long value);
static member And : int64 * int64 -> int64
Public Shared Function And (ByRef location1 As Long, value As Long) As Long
Parametri
- location1
- Int64
Variabile contenente il primo valore da combinare. Il risultato viene archiviato in location1.
- value
- Int64
Valore da combinare con l'intero in location1.
Valori restituiti
Valore originale in location1.
Eccezioni
L'indirizzo di location1 è un null puntatore.
Si applica a
And(UInt32, UInt32)
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
Importante
Questa API non è conforme a CLS.
"ands" bit per bit due interi senza segno a 32 bit e sostituisce il primo intero con il risultato, come operazione atomica.
public:
static System::UInt32 And(System::UInt32 % location1, System::UInt32 value);
[System.CLSCompliant(false)]
public static uint And(ref uint location1, uint value);
[<System.CLSCompliant(false)>]
static member And : uint32 * uint32 -> uint32
Public Shared Function And (ByRef location1 As UInteger, value As UInteger) As UInteger
Parametri
- location1
- UInt32
Variabile contenente il primo valore da combinare. Il risultato viene archiviato in location1.
- value
- UInt32
Valore da combinare con l'intero in location1.
Valori restituiti
Valore originale in location1.
- Attributi
Eccezioni
L'indirizzo di location1 è un null puntatore.
Si applica a
And(UInt64, UInt64)
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
- Origine:
- Interlocked.cs
Importante
Questa API non è conforme a CLS.
"ands" bit per bit due interi senza segno a 64 bit e sostituisce il primo intero con il risultato, come operazione atomica.
public:
static System::UInt64 And(System::UInt64 % location1, System::UInt64 value);
[System.CLSCompliant(false)]
public static ulong And(ref ulong location1, ulong value);
[<System.CLSCompliant(false)>]
static member And : uint64 * uint64 -> uint64
Public Shared Function And (ByRef location1 As ULong, value As ULong) As ULong
Parametri
- location1
- UInt64
Variabile contenente il primo valore da combinare. Il risultato viene archiviato in location1.
- value
- UInt64
Valore da combinare con l'intero in location1.
Valori restituiti
Valore originale in location1.
- Attributi
Eccezioni
L'indirizzo di location1 è un null puntatore.
Si applica a
And<T>(T, T)
- Origine:
- Interlocked.cs
public:
generic <typename T>
where T : value class static T And(T % location1, T value);
public static T And<T>(ref T location1, T value) where T : struct;
static member And : 'T * 'T -> 'T (requires 'T : struct)
Public Shared Function And(Of T As Structure) (ByRef location1 As T, value As T) As T
Parametri di tipo
- T
Parametri
- location1
- T
- value
- T