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

定義

傳回值,這個值會根據指定的比較方法,指出目前的 ValueTuple<T1,T2,T3,T4> 執行個體是否與指定的物件相等。Returns a value that indicates whether the current ValueTuple<T1,T2,T3,T4> 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 Object Object

與這個執行個體相互比較的物件。The object to compare with this instance.

comparer
IEqualityComparer IEqualityComparer 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.

實作

適用於