PnrpPermission.ToXml 方法
定义
创建 PnrpPermission 及其当前状态的 XML 编码。Creates an XML encoding of the PnrpPermission 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
返回
一个 SecurityElement 对象,该对象包含权限的 XML 编码(包括任何状态信息)。A SecurityElement object that contains an XML encoding of the permission, including any state information.