ConfigurationDefinitionAst.Copy Method

Definition

Duplicates the ConfigurationDefinitionAst, allowing it to be composed into other ASTs.

public:
 override System::Management::Automation::Language::Ast ^ Copy();
public override System.Management.Automation.Language.Ast Copy ();
override this.Copy : unit -> System.Management.Automation.Language.Ast
Public Overrides Function Copy () As Ast

Returns

Ast

A copy of the ConfigurationDefinitionAst, with the link to the previous parent removed.

Applies to