Example #1
0
 public String ToStr()
 {
     try
     {
         if (mValue == null)
         {
             return("<OutParam Name=" + mName + " Class=String>" + mValue + "</OutParam>");
         }
         else if (mValue is String)
         {
             return("<OutParam Name=" + mName + " Class=String>" + mValue
                    + "</OutParam>");
         }
         else
         {
             ISerializable value = (ISerializable)mValue;
             return("<OutParam Name=" + mName + " Class=" + value.GetType()
                    + ">" + value.ToStr() + "</OutParam>");
         }
     }
     catch
     {
         return("<OutParam Name=" + mName + " Class=String>" + mValue + "</OutParam>");
     }
 }