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)

'Declaration
Public ReadOnly Property NaturalDuration As Duration
'Usage
Dim instance As SmoothStreamingMediaElement
Dim value As Duration

value = instance.NaturalDuration

Property Value

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

Silverlight

Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0

Show: