NamedPermissionSet.ToXml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.