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::IsEmpty Method ()

 

Gets a value indicating whether the PermissionSet is empty.

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

public:
bool IsEmpty()

Return Value

Type: System::Boolean

true if the PermissionSet is empty; otherwise, false.

A PermissionSet can be empty and yet contain instances of permissions if those permissions are in the fully-restricted state. Permissions are in a fully restricted state if their IsSubsetOf methods return true when null is passed as a parameter.

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