Type.Equality(Type, Type) 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 two Type objects are equal.
public:
static bool operator ==(Type ^ left, Type ^ right);
public static bool operator == (Type? left, Type? right);
public static bool operator == (Type left, Type right);
static member ( = ) : Type * Type -> bool
Public Shared Operator == (left As Type, right As Type) As Boolean
Parameters
- left
- Type
The first object to compare.
- right
- Type
The second object to compare.
Returns
true
if left
is equal to right
; otherwise, false
.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner des problèmes et des demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.