RegistryPermission.ToXml 方法

定义

创建权限及其当前状态的 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

返回

SecurityElement

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

适用于