Interlocked.Or Yöntem

Tanım

Aşırı Yüklemeler

Or(Int32, Int32)

Bit düzeyinde "ors" iki 32 bit işaretli tamsayıdır ve ilk tamsayıyı atomik bir işlem olarak sonuçla değiştirir.

Or(Int64, Int64)

Bit düzeyinde "ors" iki 64 bit işaretli tamsayıdır ve ilk tamsayıyı atomik bir işlem olarak sonuçla değiştirir.

Or(UInt32, UInt32)

Bit düzeyinde "ors" iki 32 bit işaretsiz tamsayıdır ve ilk tamsayıyı atomik işlem olarak sonuçla değiştirir.

Or(UInt64, UInt64)

Bit düzeyinde "ors" iki 64 bit işaretsiz tamsayıdır ve ilk tamsayıyı atomik işlem olarak sonuçla değiştirir.

Or(Int32, Int32)

Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs

Bit düzeyinde "ors" iki 32 bit işaretli tamsayıdır ve ilk tamsayıyı atomik bir işlem olarak sonuçla değiştirir.

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

Parametreler

location1
Int32

Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1depolanır.

value
Int32

konumundaki tamsayı location1ile birleştirilecek değer.

Döndürülenler

içindeki location1özgün değer.

Özel durumlar

adresi location1 bir null işaretçidir.

Şunlara uygulanır

Or(Int64, Int64)

Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs

Bit düzeyinde "ors" iki 64 bit işaretli tamsayıdır ve ilk tamsayıyı atomik bir işlem olarak sonuçla değiştirir.

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

Parametreler

location1
Int64

Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1depolanır.

value
Int64

konumundaki tamsayı location1ile birleştirilecek değer.

Döndürülenler

içindeki location1özgün değer.

Özel durumlar

adresi location1 bir null işaretçidir.

Şunlara uygulanır

Or(UInt32, UInt32)

Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs

Önemli

Bu API, CLS uyumlu değildir.

Bit düzeyinde "ors" iki 32 bit işaretsiz tamsayıdır ve ilk tamsayıyı atomik işlem olarak sonuçla değiştirir.

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

Parametreler

location1
UInt32

Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1depolanır.

value
UInt32

konumundaki tamsayı location1ile birleştirilecek değer.

Döndürülenler

içindeki location1özgün değer.

Öznitelikler

Özel durumlar

adresi location1 bir null işaretçidir.

Şunlara uygulanır

Or(UInt64, UInt64)

Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs
Kaynak:
Interlocked.cs

Önemli

Bu API, CLS uyumlu değildir.

Bit düzeyinde "ors" iki 64 bit işaretsiz tamsayıdır ve ilk tamsayıyı atomik işlem olarak sonuçla değiştirir.

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

Parametreler

location1
UInt64

Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1depolanır.

value
UInt64

konumundaki tamsayı location1ile birleştirilecek değer.

Döndürülenler

içindeki location1özgün değer.

Öznitelikler

Özel durumlar

adresi location1 bir null işaretçidir.

Şunlara uygulanır