Partager via


IfStatementAst.Clauses Property

Definition

The asts representing a pair of (condition,statements) that are tested, in sequence until the first condition tests true, in which case it's statements are executed, otherwise the ElseClause, if any, is executed. This property is never null and always has at least 1 value.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<Tuple<System::Management::Automation::Language::PipelineBaseAst ^, System::Management::Automation::Language::StatementBlockAst ^> ^> ^ Clauses { System::Collections::ObjectModel::ReadOnlyCollection<Tuple<System::Management::Automation::Language::PipelineBaseAst ^, System::Management::Automation::Language::StatementBlockAst ^> ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<Tuple<System.Management.Automation.Language.PipelineBaseAst,System.Management.Automation.Language.StatementBlockAst>> Clauses { get; }
member this.Clauses : System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.Language.PipelineBaseAst * System.Management.Automation.Language.StatementBlockAst>
Public ReadOnly Property Clauses As ReadOnlyCollection(Of Tuple(Of PipelineBaseAst, StatementBlockAst))

Property Value

Applies to