System.Security.Permissions.ResourcePermissionBase.Copy Method

Creates and returns an identical copy of the current permission object.

Syntax

public override System.Security.IPermission Copy ()

Returns

A copy of the current permission object.

Remarks

A copy of the permission object represents the same access to resources as the original permission object.

Requirements

Namespace: System.Security.Permissions
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0