CodeAccessPermission.Copy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented by a derived class, creates and returns an identical copy of the current permission object.
public:
abstract System::Security::IPermission ^ Copy();
public abstract System.Security.IPermission Copy();
abstract member Copy : unit -> System.Security.IPermission
Public MustOverride Function Copy () As IPermission
Returns
A copy of the current permission object.
Implements
Remarks
A copy of a permission object represents the same access to resources as the original permission object.
Notes to Implementers
You must override this method in a derived class.