共用方式為


CommandElementAst(IScriptExtent) Constructor

Definition

Initialize the common fields of a comment element.

protected:
 CommandElementAst(System::Management::Automation::Language::IScriptExtent ^ extent);
protected CommandElementAst (System.Management.Automation.Language.IScriptExtent extent);
new System.Management.Automation.Language.CommandElementAst : System.Management.Automation.Language.IScriptExtent -> System.Management.Automation.Language.CommandElementAst
Protected Sub New (extent As IScriptExtent)

Parameters

extent
IScriptExtent

The extent of the command element.

Exceptions

If extent is null.

Applies to