IsolatedWindowsEnvironmentOptions.AllowedClipboardFormatsToEnvironment 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已弃用。 配置允许复制到环境的允许剪贴板格式。
public:
property IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToEnvironment { IsolatedWindowsEnvironmentAllowedClipboardFormats get(); void set(IsolatedWindowsEnvironmentAllowedClipboardFormats value); };
IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToEnvironment();
void AllowedClipboardFormatsToEnvironment(IsolatedWindowsEnvironmentAllowedClipboardFormats value);
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToEnvironment();
void AllowedClipboardFormatsToEnvironment(IsolatedWindowsEnvironmentAllowedClipboardFormats value);
public IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToEnvironment { get; set; }
public IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToEnvironment { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] set; }
var isolatedWindowsEnvironmentAllowedClipboardFormats = isolatedWindowsEnvironmentOptions.allowedClipboardFormatsToEnvironment;
isolatedWindowsEnvironmentOptions.allowedClipboardFormatsToEnvironment = isolatedWindowsEnvironmentAllowedClipboardFormats;
Public Property AllowedClipboardFormatsToEnvironment As IsolatedWindowsEnvironmentAllowedClipboardFormats
属性值
允许的剪贴板格式。
- 属性
Windows 要求
设备系列 |
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (在 v4.0 中引入)
|
注解
警告
这是一个已弃用的 API。