GenericPair<TValue1, TValue2> Class
Describes an object that wraps a pair of values.
Assembly: Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)
| Name | Description | |
|---|---|---|
![]() | GenericPair<TValue1, TValue2>() | |
![]() | GenericPair<TValue1, TValue2>(TValue1) | Constructs a new GenericPair<TValue1, TValue2> object and assigns its first value to the specified value. |
![]() | GenericPair<TValue1, TValue2>(TValue1, TValue2) | Constructs a new GenericPair<TValue1, TValue2> object with the two values specified. |
![]() | GenericPair<TValue1, TValue2>(GenericPair<TValue1, TValue2>^) | Constructs a new GenericPair<TValue1, TValue2> object from an existing GenericPair<TValue1, TValue2> object. |
![]() | GenericPair<TValue1, TValue2>(KeyValuePair<TValue1, TValue2>%) | Constructs a new GenericPair<TValue1, TValue2> object from an existing KeyValuePair<TKey, TValue> object. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines if two GenericPair<TValue1, TValue2> objects are equal.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | swap(GenericPair<TValue1, TValue2>^) | Swaps the contents of two GenericPair<TValue1, TValue2> objects. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Assign(GenericPair<TValue1, TValue2>^) | Replaces the stored pair of values in the GenericPair<TValue1, TValue2> object. |
For more information, see pair (STL-CLR).
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



