RuntimeTypeHandle.Inequality Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether an object and a RuntimeTypeHandle structure are not equal.
Overloads
Inequality(Object, RuntimeTypeHandle) |
Indicates whether an object and a RuntimeTypeHandle structure are not equal. |
Inequality(RuntimeTypeHandle, Object) |
Indicates whether a RuntimeTypeHandle structure is not equal to an object. |
Inequality(Object, RuntimeTypeHandle)
- Source:
- RuntimeHandles.cs
- Source:
- RuntimeHandles.cs
- Source:
- RuntimeHandles.cs
Indicates whether an object and a RuntimeTypeHandle structure are not equal.
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 op_Inequality : obj * RuntimeTypeHandle -> bool
Public Shared Operator != (left As Object, right As RuntimeTypeHandle) As Boolean
Parameters
- left
- Object
An object to compare to right
.
- right
- RuntimeTypeHandle
A RuntimeTypeHandle structure to compare to left
.
Returns
true
if left
is a RuntimeTypeHandle and is not equal to right
; otherwise, false
.
Remarks
Using this operator to compare two variables of type RuntimeTypeHandle causes an ambiguous overload resolution error when compiled. Use the Equals method instead.
The equivalent method for this operator is RuntimeTypeHandle.Equals(Object).
Applies to
Inequality(RuntimeTypeHandle, Object)
- Source:
- RuntimeHandles.cs
- Source:
- RuntimeHandles.cs
- Source:
- RuntimeHandles.cs
Indicates whether a RuntimeTypeHandle structure is not equal to an object.
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 op_Inequality : RuntimeTypeHandle * obj -> bool
Public Shared Operator != (left As RuntimeTypeHandle, right As Object) As Boolean
Parameters
- left
- RuntimeTypeHandle
A RuntimeTypeHandle structure to compare to right
.
- right
- Object
An object to compare to left
.
Returns
true
if right
is a RuntimeTypeHandle structure and is not equal to left
; otherwise, false
.
Remarks
Using this operator to compare two variables of type RuntimeTypeHandle causes an ambiguous overload resolution error when compiled. Use the Equals method instead.
The equivalent method for this operator is RuntimeTypeHandle.Equals(Object).
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기