Ast.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.
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
A copy of the AST, with the link to the previous parent removed.