KeyContainerPermission::IsSubsetOf Method (IPermission^)
.NET Framework (current version)
Determines whether the current permission is a subset of the specified permission.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- target
-
Type:
System.Security::IPermission^
A permission to test for the subset relationship. This permission must be the same type as the current permission.
Return Value
Type: System::Booleantrue if the current permission is a subset of the specified permission; otherwise, false.
Implements
IPermission::IsSubsetOf(IPermission^)| Exception | Condition |
|---|---|
| ArgumentException | target is not null and does not specify a permission of the same type as the current permission. |
.NET Framework
Available since 2.0
Available since 2.0
Show: