System.Drawing.Printing.PrintingPermission.Union Method

Creates a permission that combines the permission object and the target permission object.

Syntax

public override System.Security.IPermission Union (System.Security.IPermission target)

Parameters

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

Returns

A new permission object that represents the union of the current permission object and the specified permission object.

Remarks

The result of a call to System.Security.Permissions.UIPermission.Union(System.Security.IPermission) is a permission that represents all the operations represented by the current permission object, and all the operations represented by the specified permission object.

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0