AudioFileInputNode.Seek(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the playback position of the node to the specified time within the audio input file.
public:
virtual void Seek(TimeSpan position) = Seek;
void Seek(TimeSpan const& position);
public void Seek(System.TimeSpan position);
function seek(position)
Public Sub Seek (position As TimeSpan)
Parameters
Remarks
You can't seek to a time that is greater than the duration of the file. If the StartTime or EndTime properties have been set, you can't seek to a position before the StartTime or after the EndTime. Attempting to do so will result in an illegal argument error.