IVariant Interface ================== Namespace :dn:ns:`ampl` Assemblies * AMPL ---- .. contents:: :local: Syntax ------ .. code-block:: csharp public interface IVariant .. dn:interface:: ampl.IVariant :hidden: .. dn:interface:: ampl.IVariant Methods ------- .. dn:interface:: ampl.IVariant :noindex: :hidden: .. dn:method:: ampl.IVariant.Compare(ampl.Variant, ampl.Variant) :type x: ampl.Variant :type y: ampl.Variant :rtype: System.Int32 .. code-block:: csharp int Compare(Variant x, Variant y) .. dn:method:: ampl.IVariant.CompareTo(System.Object) :type obj: System.Object :rtype: System.Int32 .. code-block:: csharp int CompareTo(object obj) .. dn:method:: ampl.IVariant.Dispose() .. code-block:: csharp void Dispose() .. dn:method:: ampl.IVariant.Equals(System.Object) :type other: System.Object :rtype: System.Boolean .. code-block:: csharp bool Equals(object other) .. dn:method:: ampl.IVariant.GetHashCode() :rtype: System.Int32 .. code-block:: csharp int GetHashCode() .. dn:method:: ampl.IVariant.ToString() :rtype: System.String .. code-block:: csharp string ToString() Properties ---------- .. dn:interface:: ampl.IVariant :noindex: :hidden: .. dn:property:: ampl.IVariant.Dbl :rtype: System.Double .. code-block:: csharp double Dbl { get; } .. dn:property:: ampl.IVariant.Str :rtype: System.String .. code-block:: csharp string Str { get; } .. dn:property:: ampl.IVariant.Type :rtype: Type .. code-block:: csharp Type Type { get; }