FromXml(System.Security.SecurityElement) Method

The FromXml method of the SharePointPermission class reconstructs a SharePointPermission object from an XML encoding.

Parameters

securityElement The XML encoding from which to reconstruct the SharePointPermission.

Exceptions

Exception Type Condition
ArgumentNullException The securityElement parameter is a null reference (Nothing in Visual Basic).
ArgumentException The securityElement is not of type SharePointPermission.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security