IBackgroundTransferContentPartFactory.CreateWithNameAndFileName Metodo

Definizione

Crea un oggetto BackgroundTransferContentPart che identifica il tipo di contenuto e il nome del 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

Parametri

name
String

Platform::String

winrt::hstring

Identifica il tipo di contenuto.

fileName
String

Platform::String

winrt::hstring

Nome file completo; include il percorso locale.

Restituisce

Oggetto BackgroundTransferContentPart risultante.

Si applica a

Vedi anche