System.Security.Policy.NetCodeGroup.Copy Method

Makes a deep copy of the current code group.

Syntax

public override CodeGroup Copy ()

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, meaning that copies of all objects the code group contains are also made.

Requirements

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