Share via


SmoothStreamingMediaElement.SmoothStreamingCache Property

Gets or sets the Smooth Streaming cache to use during main content playback.

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

Syntax

'Declaration

Public Property SmoothStreamingCache As ISmoothStreamingCache
    Get
    Set
'Usage

Dim instance As SmoothStreamingMediaElement
Dim value As ISmoothStreamingCache

value = instance.SmoothStreamingCache

instance.SmoothStreamingCache = value
public ISmoothStreamingCache SmoothStreamingCache { get; set; }
public:
property ISmoothStreamingCache^ SmoothStreamingCache {
    ISmoothStreamingCache^ get ();
    void set (ISmoothStreamingCache^ value);
}
member SmoothStreamingCache : ISmoothStreamingCache with get, set
function get SmoothStreamingCache () : ISmoothStreamingCache
function set SmoothStreamingCache (value : ISmoothStreamingCache)

Property Value

Type: Microsoft.Web.Media.SmoothStreaming.ISmoothStreamingCache
An object that implements the cache interface.

Remarks

To associate a cache with advertisements, the cache should be assigned to this property. For more information, see Cache Plug-in Implementation of ISmoothStreamingCache

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