Pair<T,V> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Combines two types into one type.
generic <typename T, typename V>
public ref class Pair
[System.Runtime.Serialization.DataContract(Name="Pair_of_{0}_{1}")]
[System.Serializable]
public class Pair<T,V>
type Pair<'T, 'V> = class
Public Class Pair(Of T, V)
Type Parameters
- T
The first type of the pair.
- V
The second type of the pair.
- Inheritance
-
Pair<T,V>
- Attributes
Constructors
Pair<T,V>(T, V) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Initializes a new Pair<T,V> object with two types to combine into one type. |
Properties
First |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the first type of the pair. |
Second |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the second type of the pair. |
Methods
Equals(Object) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Determines whether this Pair<T,V> object is equal to the specified object. |
GetHashCode() |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Returns a hash code for the specified object. |