AudioFileInputNode.Seek(TimeSpan) AudioFileInputNode.Seek(TimeSpan) AudioFileInputNode.Seek(TimeSpan) AudioFileInputNode.Seek(TimeSpan) AudioFileInputNode.Seek(TimeSpan) Method

Definition

Moves the playback position of the node to the specified time within the audio input file.

public : void Seek(TimeSpan position)
void Seek(TimeSpan position) const;
public void Seek(TimeSpan position)
Public Sub Seek(position As TimeSpan)
audioFileInputNode.seek(position);

Parameters

position
TimeSpan TimeSpan TimeSpan

A value indicating the position to which the node should seek.

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.