Pair<T1, T2> Members
Include Protected Members
Include Inherited Members
Represents a container for a pair of reference type instances.
The Pair<T1, T2> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Pair<T1, T2> | Constructs a pair of values from the given values. |
Top
Properties
Name | Description | |
---|---|---|
First | Gets the first value in the pair. | |
IsEmpty | Returns a value that indicates whether either value of the pair is empty. | |
IsNullOrEmpty | Returns a value that indicates whether either value of the pair is a null reference (Nothing in Visual Basic) or empty. | |
Second | Gets the second value in the pair. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether the values and the types of values in this pair and the supplied pair are the same. (Overrides ValueType.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | Gets the hash code of the two reference type instances. (Overrides ValueType.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString() | Provides a string representation of the two values in the pair. (Overrides ValueType.ToString().) | |
ToString(String) | Replaces the {0} and {1} tokens in the supplied format string with the string values of the first and second values in the pair. |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the values and the types of values in this pair and those in a supplied pair are the same. | |
Inequality | Determines whether the values and the types of values in this pair and those in a supplied pair are not the same. |
Top