Поделиться через


VirtualPrinterManager.InstallVirtualPrinterForAllUsersAsync Method

Definition

Overloads

InstallVirtualPrinterForAllUsersAsync(VirtualPrinterInstallationParameters)
InstallVirtualPrinterForAllUsersAsync(VirtualPrinterInstallationParameters, String)

InstallVirtualPrinterForAllUsersAsync(VirtualPrinterInstallationParameters)

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

Parameters

Returns

Attributes

Applies to

InstallVirtualPrinterForAllUsersAsync(VirtualPrinterInstallationParameters, String)

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

Parameters

appPackageFamilyName
String

Platform::String

winrt::hstring

Returns

Attributes

Applies to