IsolatedWindowsEnvironmentOptions.AllowCameraAndMicrophoneAccess 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. Valeur booléenne indiquant si les applications s’exécutant dans l’environnement Windows isolé peuvent accéder à la caméra et au microphone de l’appareil.
public:
property bool AllowCameraAndMicrophoneAccess { bool get(); void set(bool value); };
bool AllowCameraAndMicrophoneAccess();
void AllowCameraAndMicrophoneAccess(bool 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")]
bool AllowCameraAndMicrophoneAccess();
void AllowCameraAndMicrophoneAccess(bool value);
public bool AllowCameraAndMicrophoneAccess { get; set; }
public bool AllowCameraAndMicrophoneAccess { [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 boolean = isolatedWindowsEnvironmentOptions.allowCameraAndMicrophoneAccess;
isolatedWindowsEnvironmentOptions.allowCameraAndMicrophoneAccess = boolean;
Public Property AllowCameraAndMicrophoneAccess As Boolean
Valeur de propriété
Boolean
bool
Boolean
- Attributs
Remarques
Avertissement
Il s’agit d’une API déconseillée.