<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>PlayLength Property</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.css" /> </head> <body id="bodyID" class="dtBODY"> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead">IrrKlang.NET</td> <td class="product"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">ISound.PlayLength Property</h1> </div> </div> <div id="nstext"> <p> Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support length reporting or it is a file stream of unknown size. Note: You can also use ISoundSource::getPlayLength() to get the length of a sound without actually needing to play it. </p> <div class="syntax"> <span class="lang">[Visual�Basic]</span> <br />Public�ReadOnly�Property�PlayLength�As�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemUInt32ClassTopic.htm">UInt32</a></div> <div class="syntax"> <span class="lang">[C#]</span> <br />public�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemUInt32ClassTopic.htm">uint</a>�PlayLength�{get;}</div> <p> </p> <h4 class="dtH4">See Also</h4> <p> <a href="IrrKlang.ISound.html">ISound Class</a> | <a href="IrrKlang.html">IrrKlang Namespace</a></p> <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"> <param name="Keyword" value="PlayLength property"> </param> <param name="Keyword" value="PlayLength property, ISound class"> </param> <param name="Keyword" value="ISound.PlayLength property"> </param> </object> <hr /> <div id="footer"> <p> <a>The irrKlang Sound Engine Documentation � 2003-2010 by Nikolaus Gebhardt.</a> </p> <p> </p> </div> </div> </body> </html>