BackgroundTransferContentPart 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
BackgroundTransferContentPart() | |
BackgroundTransferContentPart(String) |
建立 BackgroundTransferContentPart 物件,以識別它所代表的內容。 |
BackgroundTransferContentPart(String, String) |
建立 BackgroundTransferContentPart 物件,識別檔案內容及其代表的檔案名。 |
BackgroundTransferContentPart()
public:
BackgroundTransferContentPart();
BackgroundTransferContentPart();
public BackgroundTransferContentPart();
function BackgroundTransferContentPart()
Public Sub New ()
另請參閱
適用於
BackgroundTransferContentPart(String)
建立 BackgroundTransferContentPart 物件,以識別它所代表的內容。
public:
BackgroundTransferContentPart(Platform::String ^ name);
BackgroundTransferContentPart(winrt::hstring const& name);
public BackgroundTransferContentPart(string name);
function BackgroundTransferContentPart(name)
Public Sub New (name As String)
參數
- name
-
String
Platform::String
winrt::hstring
識別內容。
另請參閱
- CreateDownload(Uri, IStorageFile, IStorageFile)
- CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>)
- BackgroundTransferContentPart(String, String)
適用於
BackgroundTransferContentPart(String, String)
建立 BackgroundTransferContentPart 物件,識別檔案內容及其代表的檔案名。
public:
BackgroundTransferContentPart(Platform::String ^ name, Platform::String ^ fileName);
BackgroundTransferContentPart(winrt::hstring const& name, winrt::hstring const& fileName);
public BackgroundTransferContentPart(string name, string fileName);
function BackgroundTransferContentPart(name, fileName)
Public Sub New (name As String, fileName As String)
參數
- name
-
String
Platform::String
winrt::hstring
識別內容。
- fileName
-
String
Platform::String
winrt::hstring
完整檔案名,包括本機路徑。
另請參閱
- CreateDownload(Uri, IStorageFile, IStorageFile)
- CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>)
- BackgroundTransferContentPart(String)