Share via


DynamicKeywordStatementAst.Copy Method

Definition

Duplicates the DynamicKeywordStatementAst, 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 DynamicKeywordStatementAst, with the link to the previous parent removed.

Applies to