IsolatedWindowsEnvironmentOptions.AllowedClipboardFormatsToHost Property

Definition

Deprecated. Configures the allowed clipboard formats allowed to be copied to the host.

public:
 property IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToHost { IsolatedWindowsEnvironmentAllowedClipboardFormats get(); void set(IsolatedWindowsEnvironmentAllowedClipboardFormats value); };
IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToHost();

void AllowedClipboardFormatsToHost(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 AllowedClipboardFormatsToHost();

void AllowedClipboardFormatsToHost(IsolatedWindowsEnvironmentAllowedClipboardFormats value);
public IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToHost { get; set; }
public IsolatedWindowsEnvironmentAllowedClipboardFormats AllowedClipboardFormatsToHost { [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.allowedClipboardFormatsToHost;
isolatedWindowsEnvironmentOptions.allowedClipboardFormatsToHost = isolatedWindowsEnvironmentAllowedClipboardFormats;
Public Property AllowedClipboardFormatsToHost As IsolatedWindowsEnvironmentAllowedClipboardFormats

Property Value

The allowed clipboard formats.

Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (introduced in v4.0)

Remarks

Warning

This is a deprecated API.

Applies to

See also