Assembly.Equality(Assembly, Assembly) Assembly.Equality(Assembly, Assembly) Assembly.Equality(Assembly, Assembly) Assembly.Equality(Assembly, Assembly) Operator

定义

指示两个 Assembly 对象是否相等。Indicates whether two Assembly objects are equal.

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

参数

left
Assembly Assembly Assembly Assembly

要与 right 进行比较的程序集。The assembly to compare to right.

right
Assembly Assembly Assembly Assembly

要与 left 进行比较的程序集。The assembly to compare to left.

返回

如果 true 等于 left,则为 right;否则为 falsetrue if left is equal to right; otherwise, false.

适用于