NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UIPermission.ToXml

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

[Visual Basic]
Overrides Public Function ToXml() As SecurityElement
[C#]
public override SecurityElement ToXml();
[C++]
public: override SecurityElement* ToXml();
[JScript]
public override function ToXml() : SecurityElement;

Return Value

An XML encoding of the security object, including any state information.

Remarks

Custom code that extends security objects will need to implement the ToXML and FromXML methods to make the objects security-encodable.

See Also

UIPermission Class | UIPermission Members | System.Security.Permissions Namespace