IsolatedWindowsEnvironmentOptions.AllowedClipboardFormatsToEnvironment 属性

定义

已弃用。 配置允许复制到环境的允许剪贴板格式。

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。

适用于

另请参阅