System.Security.NamedPermissionSet.ToXml Method

Creates an XML element description of the named permission set.

Syntax

public override SecurityElement ToXml ()

Returns

The XML representation of the named permission set.

Remarks

Use NamedPermissionSet.FromXml(SecurityElement) to recreate the state represented by the returned element.

Requirements

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