共用方式為


MediaPermission.FromXml(SecurityElement) 方法

定義

透過 XML 編碼,重新建構具有指定狀態的權限。

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)

參數

securityElement
SecurityElement

用來重新建構權限的 XML 編碼。

適用於