MediaSourceAudioInputNode.StartTime 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 or sets the start time for the MediaSource 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 = mediaSourceAudioInputNode.startTime;
mediaSourceAudioInputNode.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 media content. Attempting to do so will result in an invalid argument error.