SwitchStatementAst.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.
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))