Upraviť

Zdieľať cez


WebClient.AllowWriteStreamBuffering Property

Definition

Caution

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a value that indicates whether to buffer the data written to the Internet resource for a WebClient instance.

public:
 property bool AllowWriteStreamBuffering { bool get(); void set(bool value); };
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public bool AllowWriteStreamBuffering { get; set; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.AllowWriteStreamBuffering : bool with get, set
Public Property AllowWriteStreamBuffering As Boolean

Property Value

true to enable buffering of the data written to the Internet resource; false to disable buffering. The default is true.

Attributes

Remarks

When the AllowWriteStreamBuffering property is true, the data is buffered in memory so it can be written more efficiently to the Internet resource in larger chunks.

Applies to