Interlocked.And Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
And(Int32, Int32) |
Bit düzeyinde "ands" iki 32 bit işaretli tamsayıdır ve ilk tamsayıyı atomik bir işlem olarak sonuçla değiştirir. |
And(Int64, Int64) |
Bit düzeyinde "ands" iki 64 bit işaretli tamsayıdır ve ilk tamsayıyı atomik bir işlem olarak sonuçla değiştirir. |
And(UInt32, UInt32) |
Bit düzeyinde "ands" iki 32 bit işaretsiz tamsayıdır ve ilk tamsayıyı atomik işlem olarak sonuçla değiştirir. |
And(UInt64, UInt64) |
Bit düzeyinde "ands" iki 64 bit işaretsiz tamsayıdır ve ilk tamsayıyı atomik işlem olarak sonuçla değiştirir. |
And(Int32, Int32)
Bit düzeyinde "ands" 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 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
Parametreler
- location1
- Int32
Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1
depolanır.
- value
- Int32
konumundaki tamsayı location1
ile 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
And(Int64, Int64)
Bit düzeyinde "ands" 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 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
Parametreler
- location1
- Int64
Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1
depolanır.
- value
- Int64
konumundaki tamsayı location1
ile 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
And(UInt32, UInt32)
Önemli
Bu API, CLS uyumlu değildir.
Bit düzeyinde "ands" 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 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
Parametreler
- location1
- UInt32
Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1
depolanır.
- value
- UInt32
konumundaki tamsayı location1
ile 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
And(UInt64, UInt64)
Önemli
Bu API, CLS uyumlu değildir.
Bit düzeyinde "ands" 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 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
Parametreler
- location1
- UInt64
Birleştirilecek ilk değeri içeren değişken. Sonuç içinde location1
depolanır.
- value
- UInt64
konumundaki tamsayı location1
ile 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.