Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetSource Method

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)

public void SetSource(
	Stream 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:
© 2015 Microsoft