Partilhar via


Ast.Copy Method

Definition

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

public:
 abstract System::Management::Automation::Language::Ast ^ Copy();
public abstract System.Management.Automation.Language.Ast Copy ();
abstract member Copy : unit -> System.Management.Automation.Language.Ast
Public MustOverride Function Copy () As Ast

Returns

Ast

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

Applies to