VGPrincipalPermissionIsSubsetOf Method
|
Determines whether the current permission is a subset of the specified permission.
Namespace:
Novalys.VisualGuard.Security
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax public bool IsSubsetOf(
IPermission target
)
Public Function IsSubsetOf (
target As IPermission
) As Boolean
Parameters
- target
- Type: System.SecurityIPermission
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
Type:
Booleantrue if the current permission is a subset of the specified permission; otherwise, false.
Implements
IPermissionIsSubsetOf(IPermission)Exceptions Exception | Condition |
---|
ArgumentException | The target parameter is an object that is not of the same type as the current permission. |
See Also