Share via


AudioFileInputNode.EndTime Property

Definition

Gets or sets the end time for the audio file input node, which determines when playback of the media content ends.

public:
 property IReference<TimeSpan> ^ EndTime { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> EndTime();

void EndTime(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> EndTime { get; set; }
var iReference = audioFileInputNode.endTime;
audioFileInputNode.endTime = iReference;
Public Property EndTime As Nullable(Of TimeSpan)

Property Value

A value indicating the end time.

Remarks

EndTime defines where in the file playback ends. If EndTime is null, playback will end at the end of the file. EndTime can't be set to a time greater than the duration of the file. Attempting to do so will result in an invalid argument error.

Set the point within the media content at which playback starts with the StartTime property.

Applies to