public bool Compare(VariantPair <KeyType> other) { // https://msdn.microsoft.com/en-us/library/system.icomparable(v=vs.110).aspx if (this.Key.CompareTo(other.Key) < 0) { return(false); } return(this.Value.Compare(other.Value)); }
public VariantPair(VariantPair <KeyType> other) { Key = other.Key; Value = new Variant(other.Value); }