BackgroundDownloader.Method 屬性

定義

取得或設定用於背景下載的 HTTP 方法。 用於下載作業的預設方法是 GET。

public:
 property Platform::String ^ Method { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Method();

void Method(winrt::hstring value);
public string Method { get; set; }
var string = backgroundDownloader.method;
backgroundDownloader.method = string;
Public Property Method As String

屬性值

String

Platform::String

winrt::hstring

用於背景下載的方法。 設定這個屬性會覆寫用於作業的預設方法。

實作

適用於