ValueTuple<T1,T2,T3>.IStructuralEquatable.Equals(Object, IEqualityComparer) Method

Definition

返回一个值,该值指示基于指定的比较方法,当前 ValueTuple<T1,T2,T3> 实例是否与指定的对象相等。Returns a value that indicates whether the current ValueTuple<T1,T2,T3> 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);
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

Parameters

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.

Returns

Boolean

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

Implements

Applies to