This documentation is archived and is not being maintained.

IPermission.Copy Method

Creates and returns an identical copy of the current permission.

[Visual Basic]
Function Copy() As IPermission
IPermission Copy();
IPermission* Copy();
function Copy() : IPermission;

Return Value

A copy of the current permission.


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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

IPermission Interface | IPermission Members | System.Security Namespace