PolicyUnit.Equality(PolicyUnit, PolicyUnit) 运算符

定义

比较两个 PolicyUnit 实例以确定它们是否相等。

public:
 static bool operator ==(System::IO::Log::PolicyUnit left, System::IO::Log::PolicyUnit right);
public static bool operator == (System.IO.Log.PolicyUnit left, System.IO.Log.PolicyUnit right);
static member ( = ) : System.IO.Log.PolicyUnit * System.IO.Log.PolicyUnit -> bool
Public Shared Operator == (left As PolicyUnit, right As PolicyUnit) As Boolean

参数

left
PolicyUnit

运算符左边的 PolicyUnit

right
PolicyUnit

运算符右边的 PolicyUnit

返回

如果两个 PolicyUnit 实例相等,则为 true;否则为 false

注解

使用此运算符比较两个 PolicyUnit 实例是否相等。 对于两个相等的对象,它们必须具有相同的 TypeValue 属性值。

适用于