MediaPermissionAttribute.Video Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the video permission level for the MediaPermissionAttribute.
public:
property System::Security::Permissions::MediaPermissionVideo Video { System::Security::Permissions::MediaPermissionVideo get(); void set(System::Security::Permissions::MediaPermissionVideo value); };
public System.Security.Permissions.MediaPermissionVideo Video { get; set; }
member this.Video : System.Security.Permissions.MediaPermissionVideo with get, set
Public Property Video As MediaPermissionVideo
Property Value
The state of the MediaPermissionVideo.
Examples
The following code example shows the use of the Video property.
[MediaPermissionAttribute(SecurityAction.Demand, Video = MediaPermissionVideo.NoVideo)]
<MediaPermissionAttribute(SecurityAction.Demand, Video:=MediaPermissionVideo.NoVideo)>
Public Sub Method10()
End Sub
Remarks
The default is SafeVideo.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.