Share via


ClipInformation.Duration Property

Gets or sets the running time of the media clip.

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

Syntax

'Declaration

Public Property Duration As Duration
    Get
    Private Set
'Usage

Dim instance As ClipInformation
Dim value As Duration

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

Property Value

Type: System.Windows.Duration
A Duration object.

Remarks

For a complete example that uses the Duration property, see Scheduling Media Clips.

Version Information

Silverlight

Supported in: 5

See Also

Reference

ClipInformation Class

Microsoft.Web.Media.SmoothStreaming Namespace