IsolatedWindowsEnvironmentAvailablePrinters 枚举

定义

已弃用。 确定可从独立 Windows 环境中访问哪些打印机。

此枚举支持其成员值的按位组合。

public enum class IsolatedWindowsEnvironmentAvailablePrinters
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
enum class IsolatedWindowsEnvironmentAvailablePrinters
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentAvailablePrinters is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
enum class IsolatedWindowsEnvironmentAvailablePrinters
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public enum IsolatedWindowsEnvironmentAvailablePrinters
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentAvailablePrinters is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public enum IsolatedWindowsEnvironmentAvailablePrinters
var value = Windows.Security.Isolation.IsolatedWindowsEnvironmentAvailablePrinters.none
Public Enum IsolatedWindowsEnvironmentAvailablePrinters
继承
IsolatedWindowsEnvironmentAvailablePrinters
属性

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (在 v2.0 中引入)

字段

Local 1

允许本地打印机

Network 2

允许网络打印机

None 0

不允许容器中的任何打印机

SystemPrintToPdf 4

允许打印为 PDF

SystemPrintToXps 8

允许打印到 XPS

注解

警告

这是一个已弃用的 API。

适用于

另请参阅