Rediger

Del via


PrintingPermission.IsSubsetOf(IPermission) Method

Definition

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.

Applies to

See also