IsolatedWindowsEnvironmentAvailablePrinters 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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。