ToXml Method

StorePermission.ToXml Method ()


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

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

public override SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement

A SecurityElement that contains an XML encoding of the permission, including any state information.

Use the FromXml method to restore the state information from a SecurityElement.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft