Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PrintingPermission.Intersect Method

Creates and returns a permission that is the intersection of the current permission object and a target permission object.

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

public override IPermission Intersect(
	IPermission target


Type: System.Security.IPermission

A permission object of the same type as the current permission object.

Return Value

Type: System.Security.IPermission
A new permission object that represents the intersection of the current object and the specified target. This object is null if the intersection is empty.




target is an object that is not of the same type as the current permission object.

The intersection of two permissions is a permission that describes the set of operations they both hold in common. Specifically, it represents the minimum permissions required for a demand to pass both permissions.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft