AudioFileInputNode.Duration Property
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.
Gets the duration for the audio input file.
public:
property TimeSpan Duration { TimeSpan get(); };
TimeSpan Duration();
public System.TimeSpan Duration { get; }
var timeSpan = audioFileInputNode.duration;
Public ReadOnly Property Duration As TimeSpan
Property Value
A value indicating the duration for the audio input file.
Remarks
The Duration property represents the duration of the audio input file. The StartTime and EndTime properties can be used to set the range of the file that is used for playback, but setting these properties does not cause the value returned by Duration to change.