/** * <summary> * Returns the number of elapsed milliseconds between the module power on and the last time * the input button was released (the input contact transitioned from closed to open). * <para> * </para> * <para> * </para> * </summary> * <returns> * an integer corresponding to the number of elapsed milliseconds between the module power on and the last time * the input button was released (the input contact transitioned from closed to open) * </returns> * <para> * On failure, throws an exception or returns <c>YAnButton.LASTTIMERELEASED_INVALID</c>. * </para> */ public long get_lastTimeReleased() { if (_func == null) { throw new YoctoApiProxyException("No AnButton connected"); } return(_func.get_lastTimeReleased()); }