IsolatedWindowsEnvironmentClipboardCopyPasteDirections 枚举

定义

已弃用。 确定允许复制粘贴内容的方向:主机到隔离的 Windows 环境或托管的隔离 Windows 环境。

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

public enum class IsolatedWindowsEnvironmentClipboardCopyPasteDirections
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
enum class IsolatedWindowsEnvironmentClipboardCopyPasteDirections
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentClipboardCopyPasteDirections 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 IsolatedWindowsEnvironmentClipboardCopyPasteDirections
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public enum IsolatedWindowsEnvironmentClipboardCopyPasteDirections
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentClipboardCopyPasteDirections 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 IsolatedWindowsEnvironmentClipboardCopyPasteDirections
var value = Windows.Security.Isolation.IsolatedWindowsEnvironmentClipboardCopyPasteDirections.none
Public Enum IsolatedWindowsEnvironmentClipboardCopyPasteDirections
继承
IsolatedWindowsEnvironmentClipboardCopyPasteDirections
属性

Windows 要求

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

字段

HostToIsolatedWindowsEnvironment 1

允许从主机复制并粘贴到独立 Windows 环境。

IsolatedWindowsEnvironmentToHost 2

允许从独立 Windows 环境复制并粘贴到主机。

None 0

不允许复制或粘贴。

注解

警告

这是一个已弃用的 API。

适用于

另请参阅