Export (0) Print
Expand All

StreamResourceInfo Constructor

Initializes a new instance of the StreamResourceInfo class.

Namespace:  System.Windows.Resources
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Sub New ( _
	stream As Stream, _
	contentType As String _
)

Parameters

stream
Type: System.IO.Stream
The stream to use to create the resource.
contentType
Type: System.String
The MIME type of the content.

ExceptionCondition
ArgumentNullException

stream is Nothing.

It is permissible to pass Nothing for contentType.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft