共用方式為


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

適用於