共用方式為


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

傳回

如果 left 等於 right,則為 true,否則為 false

適用於