PermissionSet.ToString Method ()

 

Returns a string representation of the PermissionSet.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

Public Overrides Function ToString As String

Return Value

Type: System.String

A representation of the PermissionSet.

The string representation is useful in debugging to see the state of a PermissionSet.

The following code example shows the use of the ToString method. This code example is part of a larger example provided for the PermissionSet class.

Console.WriteLine("Value of the permission set ToString = " & ControlChars.Lf & ps1.ToString())

.NET Framework
Available since 1.1
Return to top
Show: