ToXml Method
Collapse the table of content
Expand the table of content

GacIdentityPermission.ToXml Method ()


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

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

public override SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement

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

Use the FromXml method to create a GacIdentityPermission from a SecurityElement.

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