ValueTuple<T1,T2,T3,T4,T5,T6>.IStructuralEquatable.Equals(Object, IEqualityComparer) 方法

定义

返回一个值,该值指示基于指定的比较方法,当前 ValueTuple<T1,T2,T3,T4,T5,T6> 实例是否与指定的对象相等。Returns a value that indicates whether the current ValueTuple<T1,T2,T3,T4,T5,T6> instance is equal to a specified object based on a specified comparison method.

 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);
Function Equals (other As Object, comparer As IEqualityComparer) As Boolean Implements IStructuralEquatable.Equals

参数

other
Object

与该实例进行比较的对象。The object to compare with this instance.

comparer
IEqualityComparer

一个对象,该对象定义用于评估两个对象是否相等的方法。An object that defines the method to use to evaluate whether the two objects are equal.

返回

如果当前实例等于指定对象,则为 true;否则为 falsetrue if the current instance is equal to the specified objects; otherwise, false.

实现

适用于