IsolatedWindowsEnvironmentOptions.AllowedClipboardFormatsToHost Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Action déconseillée. Configure les formats de Presse-papiers autorisés à être copiés sur l’hôte.
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
Valeur de propriété
Formats autorisés du Presse-papiers.
- Attributs
Configuration requise pour Windows
Famille d’appareils |
Windows 11 Insider Preview (introduit dans 10.0.23504.0)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (introduit dans v4.0)
|
Remarques
Avertissement
Il s’agit d’une API déconseillée.