共用方式為


VirtualPrinterManager.InstallVirtualPrinterAsync Method

Definition

Overloads

InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters)
InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters, String)

InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters)

public:
 static IAsyncOperation<VirtualPrinterInstallationResult ^> ^ InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters ^ parameters);
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("InstallVirtualPrinterAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<VirtualPrinterInstallationResult> InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters const& parameters);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("InstallVirtualPrinterAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<VirtualPrinterInstallationResult> InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters parameters);
function installVirtualPrinterAsync(parameters)
Public Shared Function InstallVirtualPrinterAsync (parameters As VirtualPrinterInstallationParameters) As IAsyncOperation(Of VirtualPrinterInstallationResult)

Parameters

Returns

Attributes

Applies to

InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters, String)

public:
 static IAsyncOperation<VirtualPrinterInstallationResult ^> ^ InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters ^ parameters, Platform::String ^ appPackageFamilyName);
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("InstallVirtualPrinterAsync2")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<VirtualPrinterInstallationResult> InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters const& parameters, winrt::hstring const& appPackageFamilyName);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("InstallVirtualPrinterAsync2")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<VirtualPrinterInstallationResult> InstallVirtualPrinterAsync(VirtualPrinterInstallationParameters parameters, string appPackageFamilyName);
function installVirtualPrinterAsync(parameters, appPackageFamilyName)
Public Shared Function InstallVirtualPrinterAsync (parameters As VirtualPrinterInstallationParameters, appPackageFamilyName As String) As IAsyncOperation(Of VirtualPrinterInstallationResult)

Parameters

appPackageFamilyName
String

Platform::String

winrt::hstring

Returns

Attributes

Applies to