MediaPermission Constructor (MediaPermissionImage)
.NET Framework (current version)
Initializes a new instance of the MediaPermission class by specifying the image permission level.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- permissionImage
-
Type:
System.Security.Permissions::MediaPermissionImage
An enumerated value of MediaPermissionImage.
The following code example shows how to create a MediaPermission with a MediaPermissionImage value.
.NET Framework
Available since 3.0
Available since 3.0
Show: