NamedPermissionSet.ToXml NamedPermissionSet.ToXml NamedPermissionSet.ToXml NamedPermissionSet.ToXml Method

Definition

Creates an XML element description of the named permission set.

public:
 override System::Security::SecurityElement ^ ToXml();
public override System.Security.SecurityElement ToXml ();
override this.ToXml : unit -> System.Security.SecurityElement
Public Overrides Function ToXml () As SecurityElement

Returns

The XML representation of the named permission set.

Examples

The following code example shows the use of the ToXml method to recreate a NamedPermissionSet object. This code example is part of a larger example provided for the NamedPermissionSet class.

Remarks

Use FromXml to recreate the state represented by the returned element.

Applies to