IBackgroundTransferContentPartFactory.CreateWithName(String) 方法

定義

建立 BackgroundTransferContentPart 物件,指出指定的內容類型。

public:
 BackgroundTransferContentPart ^ CreateWithName(Platform::String ^ name);
BackgroundTransferContentPart CreateWithName(winrt::hstring const& name);
public BackgroundTransferContentPart CreateWithName(string name);
function createWithName(name)
Public Function CreateWithName (name As String) As BackgroundTransferContentPart

參數

name
String

Platform::String

winrt::hstring

識別內容類型。

傳回

resultant BackgroundTransferContentPart

適用於

另請參閱