Interlocked.Or Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| Or(Int32, Int32) |
Bitweise "ors" zwei 32-Bit-Ganzzahlen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation. |
| Or(Int64, Int64) |
Bitweise "ors" zwei 64-Bit-Ganzzahlen mit Vorzeichen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation. |
| Or(UInt32, UInt32) |
Bitweise "ors" zwei 32-Bit-ganzzahlen ohne Vorzeichen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation. |
| Or(UInt64, UInt64) |
Bitweise "ors" zwei 64-Bit-ganzzahlen ohne Vorzeichen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation. |
| Or<T>(T, T) |
Or(Int32, Int32)
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
Bitweise "ors" zwei 32-Bit-Ganzzahlen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation.
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
Parameter
- location1
- Int32
Eine Variable, die den ersten zu kombinierenden Wert enthält. Das Ergebnis wird gespeichert in location1.
- value
- Int32
Der Wert, der mit der ganzen Zahl kombiniert werden soll.location1
Gibt zurück
Der ursprüngliche Wert in location1.
Ausnahmen
Die Adresse von location1 ist ein null Zeiger.
Gilt für:
Or(Int64, Int64)
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
Bitweise "ors" zwei 64-Bit-Ganzzahlen mit Vorzeichen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation.
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
Parameter
- location1
- Int64
Eine Variable, die den ersten zu kombinierenden Wert enthält. Das Ergebnis wird gespeichert in location1.
- value
- Int64
Der Wert, der mit der ganzen Zahl kombiniert werden soll.location1
Gibt zurück
Der ursprüngliche Wert in location1.
Ausnahmen
Die Adresse von location1 ist ein null Zeiger.
Gilt für:
Or(UInt32, UInt32)
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
Wichtig
Diese API ist nicht CLS-kompatibel.
Bitweise "ors" zwei 32-Bit-ganzzahlen ohne Vorzeichen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation.
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
Parameter
- location1
- UInt32
Eine Variable, die den ersten zu kombinierenden Wert enthält. Das Ergebnis wird gespeichert in location1.
- value
- UInt32
Der Wert, der mit der ganzen Zahl kombiniert werden soll.location1
Gibt zurück
Der ursprüngliche Wert in location1.
- Attribute
Ausnahmen
Die Adresse von location1 ist ein null Zeiger.
Gilt für:
Or(UInt64, UInt64)
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
- Quelle:
- Interlocked.cs
Wichtig
Diese API ist nicht CLS-kompatibel.
Bitweise "ors" zwei 64-Bit-ganzzahlen ohne Vorzeichen und ersetzt die erste ganze Zahl durch das Ergebnis als atomische Operation.
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
Parameter
- location1
- UInt64
Eine Variable, die den ersten zu kombinierenden Wert enthält. Das Ergebnis wird gespeichert in location1.
- value
- UInt64
Der Wert, der mit der ganzen Zahl kombiniert werden soll.location1
Gibt zurück
Der ursprüngliche Wert in location1.
- Attribute
Ausnahmen
Die Adresse von location1 ist ein null Zeiger.
Gilt für:
Or<T>(T, T)
- Quelle:
- 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
Typparameter
- T
Parameter
- location1
- T
- value
- T