LocalValueEnumerator.Equals(Object) 方法

定义

确定提供的 LocalValueEnumerator 是否等效于此 LocalValueEnumeratorDetermines whether the provided LocalValueEnumerator is equivalent to this LocalValueEnumerator.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

要与当前的 LocalValueEnumerator 进行比较的 LocalValueEnumeratorThe LocalValueEnumerator to compare with the current LocalValueEnumerator.

返回

Boolean

如果指定的 true 等于当前的 LocalValueEnumerator,则为 LocalValueEnumerator;否则为 falsetrue if the specified LocalValueEnumerator is equal to the current LocalValueEnumerator; otherwise, false.

注解

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

适用于