Jaa


AudioFileInputNode.Seek(TimeSpan) Method

Definition

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

position
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.

Applies to