MediaPermissionAttribute.Image 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 image permission level for the MediaPermissionAttribute.
public:
property System::Security::Permissions::MediaPermissionImage Image { System::Security::Permissions::MediaPermissionImage get(); void set(System::Security::Permissions::MediaPermissionImage value); };
public System.Security.Permissions.MediaPermissionImage Image { get; set; }
member this.Image : System.Security.Permissions.MediaPermissionImage with get, set
Public Property Image As MediaPermissionImage
Property Value
The state of the MediaPermissionImage.
Examples
The following code example shows the use of the Image property.
[MediaPermissionAttribute(SecurityAction.Demand, Image = MediaPermissionImage.AllImage)]
<MediaPermissionAttribute(SecurityAction.Demand, Image:=MediaPermissionImage.AllImage)>
Public Sub Method05()
End Sub
Remarks
The default is SafeImage.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.