CodeGroup.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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.