Redigera

Dela via


PrincipalPermission.Copy Method

Definition

Creates and returns an identical copy of the current permission.

public:
 virtual System::Security::IPermission ^ Copy();
public System.Security.IPermission Copy ();
abstract member Copy : unit -> System.Security.IPermission
override this.Copy : unit -> System.Security.IPermission
Public Function Copy () As IPermission

Returns

A copy of the current permission.

Implements

Remarks

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

Applies to