MemoryStream Constructor
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
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.
Overload List
Name | Description | |
---|---|---|
MemoryStream() | Initializes a new instance of the MemoryStream class with an expandable capacity initialized to zero. | |
MemoryStream(array<Byte[]) | Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array. | |
MemoryStream(Int32) | Initializes a new instance of the MemoryStream class with an expandable capacity initialized as specified. | |
MemoryStream(array<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. | |
MemoryStream(array<Byte[], Int32, Int32) | Initializes a new non-resizable instance of the MemoryStream class based on the specified region (index) of a byte array. | |
MemoryStream(array<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. | |
MemoryStream(array<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