Represents a 2-tuple, or pair.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class OzTuple<T1, T2> : IStructuralEquatable, IStructuralComparable, IComparable, IOzTuple
<SerializableAttribute> _ Public Class OzTuple(Of T1, T2) _ Implements IStructuralEquatable, IStructuralComparable, IComparable, IOzTuple
[SerializableAttribute] generic<typename T1, typename T2> public ref class OzTuple : IStructuralEquatable, IStructuralComparable, IComparable, IOzTuple
- T1
- The type of the tuple's first component.
- T2
- The type of the tuple's second component.
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| OzTuple<(Of <(<'T1, T2>)>)>(T1, T2) |
Initializes a new instance of the Tuple(Of T1, T2) class.
| |
| Equals(Object) |
Returns a value that indicates whether the current Tuple(Of T1, T2) object is equal to a specified object.
(Overrides Object.Equals(Object).) | |
| GetHashCode()()()() |
Returns the hash code for the current Tuple(Of T1, T2) object.
(Overrides Object.GetHashCode()()()().) | |
| Item1 |
Gets the value of the current Tuple(Of T1, T2) object's first component.
| |
| Item2 |
Gets the value of the current Tuple(Of T1, T2) object's second component.
| |
| ToString()()()() |
Returns a string that represents the value of this Tuple(Of T1, T2) instance.
(Overrides Object.ToString()()()().) |
| Object | |
| OzTuple<(Of <(<'T1, T2>)>)> | |