A switch block is a condition block which acts like multiple case blocks ranging over the values
of the integer condition variable.
| C# | Visual Basic | Visual C++ |
public class SwitchBlock : ConditionBlock<int>, HasRange
Public Class SwitchBlock _ Inherits ConditionBlock(Of Integer) _ Implements HasRange
public ref class SwitchBlock : public ConditionBlock<int>, HasRange
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| GetStatement(IStatementCollection%) |
Gets a statement for the entire block, and a pointer to its body.
(Overrides ConditionBlock.GetStatement(IStatementCollection%).) | |
| Range |
Get switch block's range
|
| Object | ||||
| StatementBlock | ||||
| ConditionBlock | ||||
| ConditionBlock<(Of <(Int32>)>) | ||||
| SwitchBlock | ||||