次の方法で共有


IsolatedWindowsEnvironmentOptions.AllowCameraAndMicrophoneAccess プロパティ

定義

非推奨になりました。 Isolated Windows Environment 内で実行されているアプリケーションがデバイスのカメラとマイクにアクセスできるかどうかを示すブール値。

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

プロパティ値

Boolean

bool

Boolean

属性

注釈

警告

これは非推奨の API です。

適用対象