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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za