MediaPermission.Image 属性

定义

获取图像权限级别的当前值。

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

属性值

图像权限级别。

示例

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

MediaPermissionImage mediaPermissionImage = mediaPermission.Image;
Dim mediaPermissionImage7 As MediaPermissionImage = mediaPermission.Image

适用于