Dela via


IBackgroundTransferContentPartFactory.CreateWithNameAndFileName Method

Definition

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.

Applies to

See also