共用方式為


MediaPermissionAttribute.Audio 屬性

定義

取得或設定 MediaPermissionAttribute 的音訊權限等級。

public:
 property System::Security::Permissions::MediaPermissionAudio Audio { System::Security::Permissions::MediaPermissionAudio get(); void set(System::Security::Permissions::MediaPermissionAudio value); };
public System.Security.Permissions.MediaPermissionAudio Audio { get; set; }
member this.Audio : System.Security.Permissions.MediaPermissionAudio with get, set
Public Property Audio As MediaPermissionAudio

屬性值

MediaPermissionAudio

MediaPermissionAudio 的狀態。

範例

下列程式碼範例顯示 屬性的使用 Audio

[MediaPermissionAttribute(SecurityAction.Demand, Audio = MediaPermissionAudio.SiteOfOriginAudio)]
<MediaPermissionAttribute(SecurityAction.Demand, Audio:=MediaPermissionAudio.SiteOfOriginAudio)>
Public Sub Method04()
End Sub

備註

預設為 SafeAudio

適用於