[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Type Parameters

FirstT
SecondT

General-purpose pair of values of any type. The pair equals another pair if the objects that form the pair equal in any order, ie. first pair first object equals (.equals) the second pair first object or second object, and the first pair second object equals the second pair first object or second object.

The following tables list the members exposed by the InterchangeablePair<(Of FirstT, SecondT>) generic type.

Public Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Overrides .Equals(Object).)
GetHashCode
Serves as a hash function for a particular type.
(Overrides .GetHashCode().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Overrides .ToString().)

Protected Methods

  NameDescription
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Constructors

  NameDescription
InterchangeablePair<(Of FirstT, SecondT>)New
Construct pair of values.

Public Properties

  NameDescription
First
Gets or sets the first value within the pair.

Second
Gets or sets the second value within the pair.