Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PermissionSet::ToString Method ()

 

Returns a string representation of the PermissionSet.

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

public:
virtual String^ ToString() override

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 = \n{0}", ps1->ToString() );

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft