RuntimeTypeHandle.Equality 연산자

정의

개체와 RuntimeTypeHandle 구조체가 같은지 여부를 나타냅니다.

오버로드

Equality(Object, RuntimeTypeHandle)

개체와 RuntimeTypeHandle 구조체가 같은지 여부를 나타냅니다.

Equality(RuntimeTypeHandle, Object)

RuntimeTypeHandle 구조체가 개체와 같은지 여부를 나타냅니다.

Equality(Object, RuntimeTypeHandle)

Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs

개체와 RuntimeTypeHandle 구조체가 같은지 여부를 나타냅니다.

public:
 static bool operator ==(System::Object ^ left, RuntimeTypeHandle right);
public static bool operator == (object left, RuntimeTypeHandle right);
public static bool operator == (object? left, RuntimeTypeHandle right);
static member ( = ) : obj * RuntimeTypeHandle -> bool
Public Shared Operator == (left As Object, right As RuntimeTypeHandle) As Boolean

매개 변수

left
Object

right와 비교할 개체입니다.

right
RuntimeTypeHandle

left와 비교할 RuntimeTypeHandle 구조체입니다.

반환

leftRuntimeTypeHandle 구조체이고 right와 같으면 true이고, 그렇지 않으면 false입니다.

설명

이 연산자를 사용하여 형식 RuntimeTypeHandle 의 두 변수를 비교하면 컴파일 시 모호한 오버로드 확인 오류가 발생합니다. 대신 Equals 메서드를 사용합니다.

이 연산자에 대 한 해당 메서드는 RuntimeTypeHandle.Equals(Object)합니다.

적용 대상

Equality(RuntimeTypeHandle, Object)

Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs

RuntimeTypeHandle 구조체가 개체와 같은지 여부를 나타냅니다.

public:
 static bool operator ==(RuntimeTypeHandle left, System::Object ^ right);
public static bool operator == (RuntimeTypeHandle left, object right);
public static bool operator == (RuntimeTypeHandle left, object? right);
static member ( = ) : RuntimeTypeHandle * obj -> bool
Public Shared Operator == (left As RuntimeTypeHandle, right As Object) As Boolean

매개 변수

left
RuntimeTypeHandle

right와 비교할 RuntimeTypeHandle 구조체입니다.

right
Object

left와 비교할 개체입니다.

반환

rightRuntimeTypeHandle이고 left와 같으면 true이고, 그렇지 않으면 false입니다.

설명

이 연산자를 사용하여 형식 RuntimeTypeHandle 의 두 변수를 비교하면 컴파일 시 모호한 오버로드 확인 오류가 발생합니다. 대신 Equals 메서드를 사용합니다.

이 연산자에 해당하는 메서드는 입니다 RuntimeTypeHandle.Equals(Object)>.

적용 대상