NaturalDuration Property

Gets the duration of the current stream when it plays to the end.

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

Public ReadOnly Property NaturalDuration As Duration
Dim instance As SmoothStreamingMediaElement
Dim value As Duration

value = instance.NaturalDuration

Property Value

Type: System.Windows..::..Duration
The duration of the stream.


Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0