MediaPermission.Audio 属性

定义

获取音频权限级别的当前值。

public:
 property System::Security::Permissions::MediaPermissionAudio Audio { System::Security::Permissions::MediaPermissionAudio get(); };
public System.Security.Permissions.MediaPermissionAudio Audio { get; }
member this.Audio : System.Security.Permissions.MediaPermissionAudio
Public ReadOnly Property Audio As MediaPermissionAudio

属性值

音频权限级别。

示例

下面的代码示例演示如何检索 MediaPermissionAudio 的值 MediaPermission

MediaPermissionAudio mediaPermissionAudio = mediaPermission.Audio;
Dim mediaPermissionAudio6 As MediaPermissionAudio = mediaPermission.Audio

适用于