Bewerken

Share via


MediaPermission.FromXml(SecurityElement) Method

Definition

Reconstructs a permission with a specified state from an XML encoding.

public:
 override void FromXml(System::Security::SecurityElement ^ securityElement);
public override void FromXml (System.Security.SecurityElement securityElement);
override this.FromXml : System.Security.SecurityElement -> unit
Public Overrides Sub FromXml (securityElement As SecurityElement)

Parameters

securityElement
SecurityElement

The XML encoding to use to reconstruct the permission.

Applies to