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!

URLMembershipCondition.ToXml (PolicyLevel)

Creates XML representation of the membership condition object state- with policy level context

[Visual Basic]
Overloads Overridable Public Function ToXml( _
   ByVal level As PolicyLevel _
) As SecurityElement
[C#]
public virtual SecurityElement ToXml(
   PolicyLevel level
);
[C++]
public: virtual SecurityElement* ToXml(
   PolicyLevel* level
);
[JScript]
public function ToXml(
   level : PolicyLevel
) : SecurityElement;

Parameters

level
Policy level within which the code group exists.

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. This object does not use the policy level context, however other policy objects do so it is provided for consistency.

See Also

URLMembershipCondition Class | URLMembershipCondition Members | System.Security.Policy Namespace | URLMembershipCondition.ToXml Overload List