Export (0) Print
Expand All

PrincipalPermission.Copy Method

Creates and returns an identical copy of the current permission.

[Visual Basic]
Public Overridable Function Copy() As IPermission Implements _
   IPermission.Copy
[C#]
public virtual IPermission Copy();
[C++]
public: virtual IPermission* Copy();
[JScript]
public function Copy() : IPermission;

Return Value

A copy of the current permission.

Implements

IPermission.Copy

Remarks

A copy of the permission represents the same principal and identity as the original permission.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PrincipalPermission Class | PrincipalPermission Members | System.Security.Permissions Namespace

Show:
© 2014 Microsoft