Partager via


BufferedMediaTypeFormatter.BufferSize Property

Gets or sets the suggested size of buffer to use with streams in bytes.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Property BufferSize As Integer
    Get
    Set
'Usage
Dim instance As BufferedMediaTypeFormatter
Dim value As Integer

value = instance.BufferSize

instance.BufferSize = value
public int BufferSize { get; set; }
public:
property int BufferSize {
    int get ();
    void set (int value);
}
member BufferSize : int with get, set
function get BufferSize () : int
function set BufferSize (value : int)

Property Value

Type: System.Int32
The suggested size of buffer to use with streams in bytes.

See Also

Reference

BufferedMediaTypeFormatter Class

System.Net.Http.Formatting Namespace