public bool Compare(KeyVariantPair <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 KeyVariantPair(KeyVariantPair <KeyType> other)
 {
     key = other.key; value = new Variant(other.value);
 }