FileStreamOptions.BufferSize Property
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.
The size of the buffer used by FileStream for buffering. The default buffer size is 4096. 0 or 1 means that buffering should be disabled. Negative values are not allowed.
public:
property int BufferSize { int get(); void set(int value); };
public int BufferSize { get; set; }
member this.BufferSize : int with get, set
Public Property BufferSize As Integer
Property Value
A non-negative number that represents the buffer size used by FileStream for buffering.
Exceptions
When value
is negative.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.