Creates an XML encoding, of the security object and its current state.
[Visual Basic] Public Function ToXml() As SecurityElement [C#] public SecurityElement ToXml(); [C++] public: SecurityElement* ToXml(); [JScript] public function ToXml() : SecurityElement;
An XML encoding of the security object, including any state information.
Custom code that extends security objects will need to implement the ToXML and FromXML methods to make the objects security-encodable.
PermissionRequestEvidence Class | PermissionRequestEvidence Members | System.Security.Policy Namespace