Copyright © 2006-2018 MultiMedia Soft

RecordedSound.GetDuration64 method

Previous pageReturn to chapter overviewNext page



Gets the duration, expressed in milliseconds, of the last recorded sound.


A formatted string of the sound duration can be retrieved using the RecordedSound.GetFormattedDuration method.


For further details about recorded sound methods refer to the RecordedSound class section.

For further details see the How to perform a recording session section.





[Visual Basic]

Public Function GetDuration64 (

) as Int64



public Int64 GetDuration64 (




public: Int64 GetDuration64 (





Return value






Value > 0

The sound duration expressed in milliseconds

Negative value

An error occurred (see the LastError property for further error details)