MediaPlaybackItem.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 the position within the MediaPlaybackItem where playback should begin.
public:
property TimeSpan StartTime { TimeSpan get(); };
TimeSpan StartTime();
public System.TimeSpan StartTime { get; }
var timeSpan = mediaPlaybackItem.startTime;
Public ReadOnly Property StartTime As TimeSpan
Property Value
The position within the MediaPlaybackItem where playback should begin.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
Set this value by using the MediaPlaybackItem(MediaSource, TimeSpan) or MediaPlaybackItem(MediaSource, TimeSpan, TimeSpan) constructor to specify that playback of the MediaPlaybackItem should begin at a position other than the start of the item.