System.Security.Permissions.ReflectionPermission.ToXml Method

Creates an XML encoding of the permission and its current state.

Syntax

public override System.Security.SecurityElement ToXml ()

Returns

An XML encoding of the permission, including any state information.

Remarks

Note:

For the XML encoding for this class, see the System.Security.Permissions.ReflectionPermission class page.

This method overrides System.Security.CodeAccessPermission.ToXml .

Requirements

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