Export (0) Print
Expand All

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.

Implements

ISecurityEncodable.ToXml()

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft