SyntaxFactory.CaseElseBlock Method

Definition

Overloads

CaseElseBlock(CaseStatementSyntax)

Represents a case statement and its subsequent block.

CaseElseBlock(CaseStatementSyntax, SyntaxList<StatementSyntax>)

Represents a case statement and its subsequent block.

CaseElseBlock(CaseStatementSyntax)

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 statement and its subsequent block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseBlockSyntax ^ CaseElseBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ caseStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax CaseElseBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax caseStatement);
static member CaseElseBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax
Public Shared Function CaseElseBlock (caseStatement As CaseStatementSyntax) As CaseBlockSyntax

Parameters

caseStatement
CaseStatementSyntax

The statement that begins the case block.

Returns

Applies to

CaseElseBlock(CaseStatementSyntax, SyntaxList<StatementSyntax>)

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 statement and its subsequent block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseBlockSyntax ^ CaseElseBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ caseStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax CaseElseBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax caseStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member CaseElseBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax
Public Shared Function CaseElseBlock (caseStatement As CaseStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As CaseBlockSyntax

Parameters

caseStatement
CaseStatementSyntax

The statement that begins the case block.

statements
SyntaxList<StatementSyntax>

The statements contained in the case block. This might be an empty list.

Returns

Applies to