Reconstructs a security object with a given state from an XML encoding.
[Visual Basic] MustOverride Public Sub FromXml( _ ByVal elem As SecurityElement _ ) [C#] public abstract void FromXml( SecurityElement elem ); [C++] public: virtual void FromXml( SecurityElement* elem ) = 0; [JScript] public abstract function FromXml( elem : SecurityElement );
Custom code that extends security objects will need to implement the ToXML and FromXML methods to make the objects security-encodable.
CodeAccessPermission Class | CodeAccessPermission Members | System.Security Namespace