Freigeben über


LabeledStatementAst(IScriptExtent, String, PipelineBaseAst) Constructor

Definition

Initialize the properties common to labeled statements.

protected:
 LabeledStatementAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::String ^ label, System::Management::Automation::Language::PipelineBaseAst ^ condition);
protected LabeledStatementAst (System.Management.Automation.Language.IScriptExtent extent, string label, System.Management.Automation.Language.PipelineBaseAst condition);
new System.Management.Automation.Language.LabeledStatementAst : System.Management.Automation.Language.IScriptExtent * string * System.Management.Automation.Language.PipelineBaseAst -> System.Management.Automation.Language.LabeledStatementAst
Protected Sub New (extent As IScriptExtent, label As String, condition As PipelineBaseAst)

Parameters

extent
IScriptExtent

The extent of the statement.

label
String

The optionally null label for the statement.

condition
PipelineBaseAst

The optionally null pipeline for the condition test of the statement.

Exceptions

If extent is null.

Applies to