Share via


AudioFileInputNode.StartTime Property

Definition

Gets or sets the start time for the audio file input node.

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

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

Property Value

A value indicating the start time.

Remarks

StartTime defines where in the file playback begins. If StartTime is null, playback will start at the beginning of the file. StartTime 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.

Applies to