共用方式為


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

適用於