Share via


SharePointPermission.ToXml Method

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

Namespace:  Microsoft.SharePoint.Security
Assembly:  Microsoft.SharePoint.Security (in Microsoft.SharePoint.Security.dll)

Syntax

'Declaration
Public Overrides Function ToXml As SecurityElement
'Usage
Dim instance As SharePointPermission
Dim returnValue As SecurityElement

returnValue = instance.ToXml()
public override SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement
System.Security.SecurityElement An XML encoding of the permission object, including any state information.

Implements

ISecurityEncodable.ToXml()

See Also

Reference

SharePointPermission Class

SharePointPermission Members

Microsoft.SharePoint.Security Namespace