System.Security.CodeAccessPermission.Copy Method

When implemented by a derived class, creates and returns an identical copy of the current permission object.

Syntax

public abstract IPermission Copy ()

Returns

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

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