Visual Guard Class Library Documentation

VGPrincipalPermission.IsSubsetOf Method 

Determines whether the current permission is a subset of the specified permission.

public bool IsSubsetOf(
   IPermission target
);

Parameters

target
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.

Return Value

true if the current permission is a subset of the specified permission; otherwise, false.

Implements

IPermission.

Exceptions

Exception Type Condition
ArgumentException The target parameter is an object that is not of the same type as the current permission.

See Also

VGPrincipalPermission Class | Novalys.VisualGuard.Security Namespace