Returns the XML encoding of the current instance.
A System.Security.SecurityElement containing the XML encoding of the state of the current instance.
Note:For the XML encoding for this class, see the System.Security.Permissions.FileIOPermission class page.
This method overrides System.Security.CodeAccessPermission.ToXml .
Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0