FileIOPermission.ToXml FileIOPermission.ToXml FileIOPermission.ToXml FileIOPermission.ToXml Method

定義

建立權限和其目前狀態的 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

傳回

權限的 XML 編碼方式,包含所有狀態資訊。An XML encoding of the permission, including any state information.

適用於