LocalValueEnumerator.Equality(LocalValueEnumerator, LocalValueEnumerator) 运算符

定义

比较两个指定的 LocalValueEnumerator 对象是否相同。Compares whether two specified LocalValueEnumerator objects are the same.

public:
 static bool operator ==(System::Windows::LocalValueEnumerator obj1, System::Windows::LocalValueEnumerator obj2);
public static bool operator == (System.Windows.LocalValueEnumerator obj1, System.Windows.LocalValueEnumerator obj2);
static member ( = ) : System.Windows.LocalValueEnumerator * System.Windows.LocalValueEnumerator -> bool
Public Shared Operator == (obj1 As LocalValueEnumerator, obj2 As LocalValueEnumerator) As Boolean

参数

obj1
LocalValueEnumerator

要比较的第一个对象。The first object to compare.

obj2
LocalValueEnumerator

要比较的第二个对象。The second object to compare.

返回

Boolean

如果 obj1LocalValueEnumerator 等于 obj2LocalValueEnumerator,则为 true;否则为 falsetrue if the obj1LocalValueEnumerator is equal to the obj2LocalValueEnumerator; otherwise, false.

注解

此实现仅支持引用相等性。This implementation supports reference equality only.

适用于