Array.IStructuralEquatable.Equals(Object, IEqualityComparer) Array.IStructuralEquatable.Equals(Object, IEqualityComparer) Array.IStructuralEquatable.Equals(Object, IEqualityComparer) Method

定義

判斷物件與目前的執行個體是否相等。Determines whether an object is equal to the current instance.

 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 the current instance.

comparer
IEqualityComparer IEqualityComparer IEqualityComparer

物件,判斷目前的執行個體與 other 是否相等。An object that determines whether the current instance and other are equal.

傳回

如果兩個物件相等則為 true,否則為 falsetrue if the two objects are equal; otherwise, false.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 Array 執行個體轉換成 IStructuralEquatable 介面時,才能使用這個成員。It can be used only when the Array instance is cast to an IStructuralEquatable interface.

適用於