SwitchStatementAst.Clauses Property

Definition

A possibly empty collection of conditions and statement blocks representing the cases of the switch statement. If the collection is empty, the default clause is not null.

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

Property Value

Applies to