共用方式為


ReusableMemoryStream(Int32) Constructor

Definition

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.

Applies to