Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
RecordedSound.GetDuration method 
 
Remarks 
 
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. 
 
 
Syntax 
 
[Visual Basic] 
Public Function GetDuration
) as Int32
 
[C#] 
public Int32 GetDuration
);
 
[C++] 
public: Int32 GetDuration
);
 
 
 
Return value 
 
Value
Meaning
 
 
Value > 0
The sound duration expressed in milliseconds
Negative value
An error occurred (see the LastError property for further error details)
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents