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.