ValueTuple<T1,T2,T3,T4,T5,T6>.IStructuralEquatable.Equals 方法

定义

返回一个值,该值指示基于指定的比较方法,当前 ValueTuple<T1,T2,T3,T4,T5,T6> 实例是否与指定的对象相等。

 virtual bool System.Collections.IStructuralEquatable.Equals(System::Object ^ other, System::Collections::IEqualityComparer ^ comparer) = System::Collections::IStructuralEquatable::Equals;
bool IStructuralEquatable.Equals (object other, System.Collections.IEqualityComparer comparer);
abstract member System.Collections.IStructuralEquatable.Equals : obj * System.Collections.IEqualityComparer -> bool
override this.System.Collections.IStructuralEquatable.Equals : obj * System.Collections.IEqualityComparer -> bool
Function Equals (other As Object, comparer As IEqualityComparer) As Boolean Implements IStructuralEquatable.Equals

参数

other
Object

与该实例进行比较的对象。

comparer
IEqualityComparer

一个对象,该对象定义用于评估两个对象是否相等的方法。

返回

Boolean

如果当前实例等于指定对象,则为 true;否则为 false

实现

适用于