Ast.Copy Method
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.
C++
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
A copy of the AST, with the link to the previous parent removed.
Producto | Versiones |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |