共用方式為


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。

適用於

另請參閱