コード例 #1
0
 /**
  * <summary>
  *   Returns the current time in the form "YYYY/MM/DD hh:mm:ss".
  * <para>
  * </para>
  * <para>
  * </para>
  * </summary>
  * <returns>
  *   a string corresponding to the current time in the form "YYYY/MM/DD hh:mm:ss"
  * </returns>
  * <para>
  *   On failure, throws an exception or returns <c>YGps.DATETIME_INVALID</c>.
  * </para>
  */
 public string get_dateTime()
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Gps connected");
     }
     return(_func.get_dateTime());
 }