Interlocked.And 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| And(Int32, Int32) |
비트 "ands"는 두 개의 32비트 부가 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다. |
| And(Int64, Int64) |
비트 "ands"는 두 개의 64비트 부가 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다. |
| And(UInt32, UInt32) |
비트 "ands" 두 개의 32비트 부호 없는 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다. |
| And(UInt64, UInt64) |
비트 "ands"는 두 개의 64비트 부호 없는 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다. |
| And<T>(T, T) |
And(Int32, Int32)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
비트 "ands"는 두 개의 32비트 부가 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다.
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
매개 변수
- location1
- Int32
결합할 첫 번째 값을 포함하는 변수입니다. 결과는 .에 location1저장됩니다.
- value
- Int32
에서 정 location1수와 결합할 값입니다.
반품
의 원래 값입니다 location1.
예외
주소 location1 는 포인터입니다 null .
적용 대상
And(Int64, Int64)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
비트 "ands"는 두 개의 64비트 부가 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다.
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
매개 변수
- location1
- Int64
결합할 첫 번째 값을 포함하는 변수입니다. 결과는 .에 location1저장됩니다.
- value
- Int64
에서 정 location1수와 결합할 값입니다.
반품
의 원래 값입니다 location1.
예외
주소 location1 는 포인터입니다 null .
적용 대상
And(UInt32, UInt32)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
Important
이 API는 CLS 규격이 아닙니다.
비트 "ands" 두 개의 32비트 부호 없는 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다.
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
매개 변수
- location1
- UInt32
결합할 첫 번째 값을 포함하는 변수입니다. 결과는 .에 location1저장됩니다.
- value
- UInt32
에서 정 location1수와 결합할 값입니다.
반품
의 원래 값입니다 location1.
- 특성
예외
주소 location1 는 포인터입니다 null .
적용 대상
And(UInt64, UInt64)
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
- Source:
- Interlocked.cs
Important
이 API는 CLS 규격이 아닙니다.
비트 "ands"는 두 개의 64비트 부호 없는 정수이며 첫 번째 정수는 원자성 연산으로 결과로 바꿉니다.
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
매개 변수
- location1
- UInt64
결합할 첫 번째 값을 포함하는 변수입니다. 결과는 .에 location1저장됩니다.
- value
- UInt64
에서 정 location1수와 결합할 값입니다.
반품
의 원래 값입니다 location1.
- 특성
예외
주소 location1 는 포인터입니다 null .
적용 대상
And<T>(T, T)
- Source:
- 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
형식 매개 변수
- T
매개 변수
- location1
- T
- value
- T