System.Security.PermissionSet.ToXml Method

Creates an XML encoding of the security object and its current state.

Syntax

public virtual SecurityElement ToXml ()

Returns

An XML encoding of the security object, including any state information.

Remarks

Operation
As described above.

Note to Inheritors
Override this method to return an object containing the XML encoding for types derived from System.Security.PermissionSet.

Usage
This method is called by the system.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0