PrintingPermission.IsSubsetOf(IPermission) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the current permission object is a subset of the specified permission.
public:
override bool IsSubsetOf(System::Security::IPermission ^ target);
public override bool IsSubsetOf (System.Security.IPermission target);
override this.IsSubsetOf : System.Security.IPermission -> bool
Public Overrides Function IsSubsetOf (target As IPermission) As Boolean
Parameters
- target
- 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.
Returns
true
if the current permission object is a subset of target
; otherwise, false
.
Exceptions
target
is an object that is not of the same type as the current permission object.