共用方式為


WebClient.AllowWriteStreamBuffering 屬性

定義

警告

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

取得或設定值,這個值表示是否要為 WebClient 執行個體緩衝處理寫入網際網路資源的資料。

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

屬性值

若要啟用緩衝處理寫入網際網路資源的資料,則為 true;若要停用緩衝處理,則為 false。 預設為 true

屬性

備註

AllowWriteStreamBuffering當 屬性為 true時,數據會在記憶體中緩衝處理,以便更有效率地以較大的區塊將它寫入因特網資源。

適用於