Share via


SmoothStreamingMediaElement.StartPosition Property

Gets or sets the start position of the current stream.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Property StartPosition As TimeSpan
    Get
    Set
'Usage

Dim instance As SmoothStreamingMediaElement
Dim value As TimeSpan

value = instance.StartPosition

instance.StartPosition = value
public TimeSpan StartPosition { get; set; }
public:
property TimeSpan StartPosition {
    TimeSpan get ();
    void set (TimeSpan value);
}
member StartPosition : TimeSpan with get, set
function get StartPosition () : TimeSpan
function set StartPosition (value : TimeSpan)

Property Value

Type: System.TimeSpan
The start position.

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace