FromXml(System.Security.SecurityElement) Method

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


securityElement The XML encoding from which to reconstruct the SharePointPermission.


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


Platforms: Microsoft Windows Server 2003

Security: Code Access Security