BackgroundUploader.Method 屬性

定義

取得或設定用於上傳的 HTTP 方法。 用於上傳作業的預設方法是 POST。

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 = backgroundUploader.method;
backgroundUploader.method = string;
Public Property Method As String

屬性值

String

Platform::String

winrt::hstring

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

實作

適用於