IBackgroundTransferContentPartFactory.CreateWithNameAndFileName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a BackgroundTransferContentPart object that identifies the content type and name of the file.
public:
BackgroundTransferContentPart ^ CreateWithNameAndFileName(Platform::String ^ name, Platform::String ^ fileName);
BackgroundTransferContentPart CreateWithNameAndFileName(winrt::hstring const& name, winrt::hstring const& fileName);
public BackgroundTransferContentPart CreateWithNameAndFileName(string name, string fileName);
function createWithNameAndFileName(name, fileName)
Public Function CreateWithNameAndFileName (name As String, fileName As String) As BackgroundTransferContentPart
Parameters
- name
-
String
Platform::String
winrt::hstring
Identifies the content type.
- fileName
-
String
Platform::String
winrt::hstring
The fully qualified file name; this includes the local path.
Returns
The resultant BackgroundTransferContentPart object.