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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.