SyntaxFactory.CaseElseStatement Method
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.
Overloads
CaseElseStatement(SyntaxToken, SeparatedSyntaxList<CaseClauseSyntax>) |
Represents a Case or Case Else statement. This statement is always the Begin of a CaseBlock. If this is a Case Else statement, the Kind=CaseElse, otherwise the Kind=Case. |
CaseElseStatement(SeparatedSyntaxList<CaseClauseSyntax>) |
Represents a Case or Case Else statement. This statement is always the Begin of a CaseBlock. If this is a Case Else statement, the Kind=CaseElse, otherwise the Kind=Case. |
CaseElseStatement(CaseClauseSyntax[]) |
Represents a Case or Case Else statement. This statement is always the Begin of a CaseBlock. If this is a Case Else statement, the Kind=CaseElse, otherwise the Kind=Case. |
CaseElseStatement(SyntaxToken, SeparatedSyntaxList<CaseClauseSyntax>)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a Case or Case Else statement. This statement is always the Begin of a CaseBlock. If this is a Case Else statement, the Kind=CaseElse, otherwise the Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseElseStatement(Microsoft::CodeAnalysis::SyntaxToken caseKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseElseStatement (Microsoft.CodeAnalysis.SyntaxToken caseKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> cases);
static member CaseElseStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseElseStatement (caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax
Parameters
- caseKeyword
- SyntaxToken
The "Case" keyword
A list of clauses associated with this Case. If Kind=CaseElse, then this list has exactly one child, which is a ElseCaseClause.
Returns
Applies to
CaseElseStatement(SeparatedSyntaxList<CaseClauseSyntax>)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a Case or Case Else statement. This statement is always the Begin of a CaseBlock. If this is a Case Else statement, the Kind=CaseElse, otherwise the Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseElseStatement(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseElseStatement (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> cases);
static member CaseElseStatement : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseElseStatement (cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax
Parameters
A list of clauses associated with this Case. If Kind=CaseElse, then this list has exactly one child, which is a ElseCaseClause.
Returns
Applies to
CaseElseStatement(CaseClauseSyntax[])
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a Case or Case Else statement. This statement is always the Begin of a CaseBlock. If this is a Case Else statement, the Kind=CaseElse, otherwise the Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseElseStatement(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> ^ cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseElseStatement (params Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] cases);
static member CaseElseStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseElseStatement (ParamArray cases As CaseClauseSyntax()) As CaseStatementSyntax
Parameters
- cases
- CaseClauseSyntax[]
A list of clauses associated with this Case. If Kind=CaseElse, then this list has exactly one child, which is a ElseCaseClause.