IBackgroundTransferContentPartFactory
IBackgroundTransferContentPartFactory
IBackgroundTransferContentPartFactory
IBackgroundTransferContentPartFactory
Interface
Definition
Creates a BackgroundTransferContentPart object.
public : interface IBackgroundTransferContentPartFactorypublic interface IBackgroundTransferContentPartFactoryPublic Interface IBackgroundTransferContentPartFactory// You can use this interface in JavaScript.
- 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) 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// You can use this method in JavaScript.
Parameters
- name
- PlatForm::String String String String
Identifies the content type.
Returns
CreateWithNameAndFileName(String, String) 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// You can use this method in JavaScript.
Parameters
- name
- PlatForm::String String String String
Identifies the content type.
- fileName
- PlatForm::String String String String
The fully qualified file name; this includes the local path.
Returns