NamedPermissionSet.ToXml Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an XML element description of the named permission set.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public override SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement

The XML representation of the named permission set.

Use FromXml to recreate the state represented by the returned element.

The following code example shows the use of the ToXml method to recreate a NamedPermissionSet object. This code example is part of a larger example provided for the NamedPermissionSet class.

.NET Framework
Available since 1.1
Return to top
Show: