CodeGroup.Copy Method


When overridden in a derived class, makes a deep copy of the current code group.

 abstract System::Security::Policy::CodeGroup ^ Copy();
public abstract System.Security.Policy.CodeGroup Copy ();
abstract member Copy : unit -> System.Security.Policy.CodeGroup
Public MustOverride Function Copy () As CodeGroup


An equivalent copy of the current code group, including its membership conditions and child code groups.


This method makes a deep copy of the code group, so that copies of all objects the code group contains are also made.

Applies to