PrintingPermission.ToXml 方法

定义

创建安全对象及其当前状态的 XML 编码。Creates an XML encoding of the security object 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 security object, including any state information.

适用于