I​Background​Transfer​Content​Part​Factory I​Background​Transfer​Content​Part​Factory I​Background​Transfer​Content​Part​Factory Interface

Definition

public : interface IBackgroundTransferContentPartFactorypublic interface IBackgroundTransferContentPartFactoryPublic Interface IBackgroundTransferContentPartFactory
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

CreateWithName(String) CreateWithName(String) CreateWithName(String)

Creates a BackgroundTransferContentPart object that indicates the specified content type.

public : BackgroundTransferContentPart CreateWithName(PlatForm::String name)public BackgroundTransferContentPart CreateWithName(String name)Public Function CreateWithName(name As String) As BackgroundTransferContentPart
Parameters
name
PlatForm::String String String

Identifies the content type.

Returns
Attributes

CreateWithNameAndFileName(String, String) CreateWithNameAndFileName(String, String) CreateWithNameAndFileName(String, String)

Creates a BackgroundTransferContentPart object that identifies the content type and name of the file.

public : BackgroundTransferContentPart CreateWithNameAndFileName(PlatForm::String name, PlatForm::String fileName)public BackgroundTransferContentPart CreateWithNameAndFileName(String name, String fileName)Public Function CreateWithNameAndFileName(name As String, fileName As String) As BackgroundTransferContentPart
Parameters
name
PlatForm::String String String

Identifies the content type.

fileName
PlatForm::String String String

The fully qualified file name; this includes the local path.

Returns
Attributes