CodeGroup.Copy Method

Definition

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

public:
 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

Returns

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

Remarks

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