Export (0) Print
Expand All

SetSource Method

Sets the source of the SmoothStreamingMediaElement object.

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

'Declaration
PublicSubSetSource ( _
	streamAsStream _
)
'Usage
DiminstanceAsSmoothStreamingMediaElementDimstreamAsStream

instance.SetSource(stream)

Parameters

stream
Type: System.IO..::..Stream
The source object.

When you call SetSource(Stream) or assign the SmoothStreamingSource or Source properties, Source is reset to SmoothStreamingSource. However, SmoothStreamingSource is not cleared when reset to a progressive-downloading source.

Silverlight

Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0

Show:
© 2014 Microsoft