IsolatedWindowsEnvironmentAllowedClipboardFormats 枚举

定义

已弃用。 确定允许向/从独立 Windows 环境复制和粘贴哪些类型的内容。

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

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

Windows 要求

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

字段

Image 2

允许图像内容。

None 0

不允许任何内容。

Rtf 4

允许 RTF) 内容 (RTF 格式。

Text 1

允许文本内容。

注解

警告

这是一个已弃用的 API。

适用于

另请参阅