public override string ToString()
 {
     if (DataMissing.IsSingleton(this.value))
     {
         return(GetMime() + ";m=DataMissing");
     }
     else
     {
         return(GetMime() + GetMimeSimpleData() + "");
     }
 }
 public string GetMimeSimpleData()
 {
     if (DataMissing.IsSingleton(value))
     {
         // no value to report
         return("");
     }
     else
     {
         if (type == ValueType.Boolean)
         {
             return(";d=" + value.ToString());
         }
         else if (type == ValueType.Int32)
         {
             return(";d=" + value.ToString());
         }
         else if (type == ValueType.Int16)
         {
             return(";d=" + value.ToString());
         }
         else if (type == ValueType.Int64)
         {
             return(";d=" + value.ToString());
         }
         else if (type == ValueType.Single)
         {
             return(";d=" + value.ToString());
         }
         else if (type == ValueType.Double)
         {
             return(";d=" + value.ToString());
         }
         else
         {
             return("");
         }
     }
 }