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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for