Redigera

Dela via


NetworkInformationPermission.ToXml Method

Definition

Creates an XML encoding of the state of this permission.

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

A SecurityElement that contains the XML encoding of the current permission.

Remarks

This method is used by the security system and is not normally called by application code.

Applies to