Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MemoryStream Constructor

Initializes a new instance of the MemoryStream class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemoryStream() Initializes a new instance of the MemoryStream class with an expandable capacity initialized to zero.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemoryStream(Byte[]) Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemoryStream(Int32) Initializes a new instance of the MemoryStream class with an expandable capacity initialized as specified.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemoryStream(Byte[], Boolean) Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array with the CanWrite property set as specified.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemoryStream(Byte[], Int32, Int32) Initializes a new non-resizable instance of the MemoryStream class based on the specified region (index) of a byte array.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemoryStream(Byte[], Int32, Int32, Boolean) Initializes a new non-resizable instance of the MemoryStream class based on the specified region of a byte array, with the CanWrite property set as specified.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemoryStream(Byte[], Int32, Int32, Boolean, Boolean) Initializes a new instance of the MemoryStream class based on the specified region of a byte array, with the CanWrite property set as specified, and the ability to call GetBuffer set as specified.
Top

Community Additions

Show:
© 2015 Microsoft