編輯

共用方式為


MediaPermission.Audio Property

Definition

Gets the current value of the audio permission level.

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

Property Value

The audio permission level.

Examples

The following code example shows how to retrieve the MediaPermissionAudio value for the MediaPermission.

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

Applies to