ConstructorInfo.Equality(ConstructorInfo, ConstructorInfo) 运算符

定义

指示两个 ConstructorInfo 对象是否相等。

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

参数

left
ConstructorInfo

要比较的第一个 ConstructorInfo

right
ConstructorInfo

要比较的第二个 ConstructorInfo

返回

Boolean

如果 left 等于 right,则为 true;否则为 false

适用于