Interlocked.Or Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Or(Int32, Int32) |
Au niveau du bit, deux entiers signés 32 bits et remplace le premier entier par le résultat, en tant qu’opération atomique. |
| Or(Int64, Int64) |
Au niveau du bit, deux entiers signés 64 bits et remplace le premier entier par le résultat, en tant qu’opération atomique. |
| Or(UInt32, UInt32) |
Au niveau du bit , deux entiers non signés 32 bits et remplacent le premier entier par le résultat, sous la forme d’une opération atomique. |
| Or(UInt64, UInt64) |
Au niveau du bit , deux entiers non signés 64 bits et remplace le premier entier par le résultat, sous la forme d’une opération atomique. |
| Or<T>(T, T) |
Or(Int32, Int32)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
Au niveau du bit, deux entiers signés 32 bits et remplace le premier entier par le résultat, en tant qu’opération atomique.
public:
static int Or(int % location1, int value);
public static int Or(ref int location1, int value);
static member Or : int * int -> int
Public Shared Function Or (ByRef location1 As Integer, value As Integer) As Integer
Paramètres
- location1
- Int32
Variable contenant la première valeur à combiner. Le résultat est stocké dans location1.
- value
- Int32
Valeur à combiner avec l’entier à location1.
Retours
Valeur d’origine en location1.
Exceptions
L’adresse est location1 un null pointeur.
S’applique à
Or(Int64, Int64)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
Au niveau du bit, deux entiers signés 64 bits et remplace le premier entier par le résultat, en tant qu’opération atomique.
public:
static long Or(long % location1, long value);
public static long Or(ref long location1, long value);
static member Or : int64 * int64 -> int64
Public Shared Function Or (ByRef location1 As Long, value As Long) As Long
Paramètres
- location1
- Int64
Variable contenant la première valeur à combiner. Le résultat est stocké dans location1.
- value
- Int64
Valeur à combiner avec l’entier à location1.
Retours
Valeur d’origine en location1.
Exceptions
L’adresse est location1 un null pointeur.
S’applique à
Or(UInt32, UInt32)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
Important
Cette API n’est pas conforme CLS.
Au niveau du bit , deux entiers non signés 32 bits et remplacent le premier entier par le résultat, sous la forme d’une opération atomique.
public:
static System::UInt32 Or(System::UInt32 % location1, System::UInt32 value);
[System.CLSCompliant(false)]
public static uint Or(ref uint location1, uint value);
[<System.CLSCompliant(false)>]
static member Or : uint32 * uint32 -> uint32
Public Shared Function Or (ByRef location1 As UInteger, value As UInteger) As UInteger
Paramètres
- location1
- UInt32
Variable contenant la première valeur à combiner. Le résultat est stocké dans location1.
- value
- UInt32
Valeur à combiner avec l’entier à location1.
Retours
Valeur d’origine en location1.
- Attributs
Exceptions
L’adresse est location1 un null pointeur.
S’applique à
Or(UInt64, UInt64)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
Important
Cette API n’est pas conforme CLS.
Au niveau du bit , deux entiers non signés 64 bits et remplace le premier entier par le résultat, sous la forme d’une opération atomique.
public:
static System::UInt64 Or(System::UInt64 % location1, System::UInt64 value);
[System.CLSCompliant(false)]
public static ulong Or(ref ulong location1, ulong value);
[<System.CLSCompliant(false)>]
static member Or : uint64 * uint64 -> uint64
Public Shared Function Or (ByRef location1 As ULong, value As ULong) As ULong
Paramètres
- location1
- UInt64
Variable contenant la première valeur à combiner. Le résultat est stocké dans location1.
- value
- UInt64
Valeur à combiner avec l’entier à location1.
Retours
Valeur d’origine en location1.
- Attributs
Exceptions
L’adresse est location1 un null pointeur.
S’applique à
Or<T>(T, T)
- Source:
- Interlocked.cs
public:
generic <typename T>
where T : value class static T Or(T % location1, T value);
public static T Or<T>(ref T location1, T value) where T : struct;
static member Or : 'T * 'T -> 'T (requires 'T : struct)
Public Shared Function Or(Of T As Structure) (ByRef location1 As T, value As T) As T
Paramètres de type
- T
Paramètres
- location1
- T
- value
- T