IfStatementAst.Clauses Property
Definition
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.
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))