Upraviť

Zdieľať cez


FileStreamOptions.BufferSize Property

Definition

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