FileIOPermission.ToXml Method

Definition

创建权限及其当前状态的 XML 编码。Creates an XML encoding of the permission and its current state.

public:
 override System::Security::SecurityElement ^ ToXml();
public override System.Security.SecurityElement ToXml ();
override this.ToXml : unit -> System.Security.SecurityElement
Public Overrides Function ToXml () As SecurityElement

Returns

SecurityElement

权限的 XML 编码,包括任何状态信息。An XML encoding of the permission, including any state information.

Applies to