WebClient.AllowWriteStreamBuffering 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
時,數據會在記憶體中緩衝處理,以便更有效率地以較大的區塊將它寫入因特網資源。