Partager via


Copy Method

The Copy method of the WebPartPermission class creates and returns an identical copy of the current permission object.

Return Value

System.Security.IPermission    A copy of the current permission object.

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security