SmoothStreamingMediaElement.CanPause Property

Gets or sets a value that specifies whether the stream can be paused.

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

Syntax

'Declaration

Public Property CanPause As Boolean
    Get
    Set
'Usage

Dim instance As SmoothStreamingMediaElement
Dim value As Boolean

value = instance.CanPause

instance.CanPause = value
public bool CanPause { get; set; }
public:
property bool CanPause {
    bool get ();
    void set (bool value);
}
member CanPause : bool with get, set
function get CanPause () : boolean
function set CanPause (value : boolean)

Property Value

Type: System.Boolean
true if the media stream can be paused; otherwise, false.

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