This documentation is archived and is not being maintained.

ISecurityEncodable.FromXml Method

Reconstructs a security object with a specified state from an XML encoding.

[Visual Basic]
Sub FromXml( _
   ByVal e As SecurityElement _
)
[C#]
void FromXml(
   SecurityElement e
);
[C++]
void FromXml(
   SecurityElement* e
);
[JScript]
function FromXml(
   e : SecurityElement
);

Parameters

e
The XML encoding to use to reconstruct the security object.

Remarks

Custom code that extends security objects needs to implement the ToXml and FromXml methods to make the objects security-encodable.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ISecurityEncodable Interface | ISecurityEncodable Members | System.Security Namespace

Show: