Edit

Share via


PrincipalPermission.ToXml Method

Definition

Creates an XML encoding of the permission and its current state.

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

Returns

An XML encoding of the permission, including any state information.

Implements

Applies to