Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValueTuple<T1>::Equals Method (Object^)

 

Returns a value that indicates whether the current ValueTuple<T1> instance is equal to a specified object.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System::Object^

The object to compare with this instance.

Return Value

Type: System::Boolean

true if the current instance is equal to the specified object; otherwise, false.

The obj argument is considered to be equal to the current instance under the following conditions:

  • It is a ValueTuple<T1> value type.

  • It component is of the same types as that of the current instance.

  • Its component is equal to that of the current instance. Equality is determined by the default equality comparer for the component.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft