PrintingPermission::IsSubsetOf Method (IPermission^)
.NET Framework (current version)
Determines whether the current permission object is a subset of the specified permission.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- target
-
Type:
System.Security::IPermission^
A permission object that is to be tested for the subset relationship. This object must be of the same type as the current permission object.
Return Value
Type: System::Booleantrue if the current permission object is a subset of target; otherwise, false.
Implements
IPermission::IsSubsetOf(IPermission^)| Exception | Condition |
|---|---|
| ArgumentException | target is an object that is not of the same type as the current permission object. |
.NET Framework
Available since 1.1
Available since 1.1
Show: