PrintingPermission::IsSubsetOf Method (IPermission^)

 

Determines whether the current permission object is a subset of the specified permission.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
virtual bool IsSubsetOf(
	IPermission^ target
) override

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::Boolean

true if the current permission object is a subset of target; otherwise, false.

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
Return to top
Show: