Bewerken

Delen via


MethodInfo.Equality(MethodInfo, MethodInfo) Operator

Definition

Indicates whether two MethodInfo objects are equal.

public:
 static bool operator ==(System::Reflection::MethodInfo ^ left, System::Reflection::MethodInfo ^ right);
public static bool operator == (System.Reflection.MethodInfo? left, System.Reflection.MethodInfo? right);
public static bool operator == (System.Reflection.MethodInfo left, System.Reflection.MethodInfo right);
static member ( = ) : System.Reflection.MethodInfo * System.Reflection.MethodInfo -> bool
Public Shared Operator == (left As MethodInfo, right As MethodInfo) As Boolean

Parameters

left
MethodInfo

The first object to compare.

right
MethodInfo

The second object to compare.

Returns

true if left is equal to right; otherwise, false.

Applies to