ReusableMemoryStream(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a new ReusableMemoryStream.
ReusableMemoryStream(int maximumStreamCapacity = 2147483647);
public ReusableMemoryStream (int maximumStreamCapacity = 2147483647);
new Microsoft.VisualStudio.Utilities.ReusableMemoryStream : int -> Microsoft.VisualStudio.Utilities.ReusableMemoryStream
Public Sub New (Optional maximumStreamCapacity As Integer = 2147483647)
Parameters
- maximumStreamCapacity
- Int32
The maximum capacity for the MemoryStream to be stored for reuse. Streams exceeding the capacity will be not be stored for reuse.