Share via


SyntaxFactory.SelectBlock Method

Definition

Overloads

SelectBlock(SelectStatementSyntax, SyntaxList<CaseBlockSyntax>, EndBlockStatementSyntax)

Represents a Select Case block, including the Select Case that begins it, the contains Case blocks and the End Select.

SelectBlock(SelectStatementSyntax, SyntaxList<CaseBlockSyntax>)

Represents a Select Case block, including the Select Case that begins it, the contains Case blocks and the End Select.

SelectBlock(SelectStatementSyntax)

Represents a Select Case block, including the Select Case that begins it, the contains Case blocks and the End Select.

SelectBlock(SelectStatementSyntax, SyntaxList<CaseBlockSyntax>, EndBlockStatementSyntax)

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 Select Case block, including the Select Case that begins it, the contains Case blocks and the End Select.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectBlockSyntax ^ SelectBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectStatementSyntax ^ selectStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseBlockSyntax ^> caseBlocks, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSelectStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax SelectBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax selectStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax> caseBlocks, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSelectStatement);
static member SelectBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax
Public Shared Function SelectBlock (selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(Of CaseBlockSyntax), endSelectStatement As EndBlockStatementSyntax) As SelectBlockSyntax

Parameters

selectStatement
SelectStatementSyntax

The Select Case statement that begins the block.

caseBlocks
SyntaxList<CaseBlockSyntax>

A list of the contained Case blocks.

endSelectStatement
EndBlockStatementSyntax

The End Select statement that ends the block.

Returns

Applies to

SelectBlock(SelectStatementSyntax, SyntaxList<CaseBlockSyntax>)

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 Select Case block, including the Select Case that begins it, the contains Case blocks and the End Select.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectBlockSyntax ^ SelectBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectStatementSyntax ^ selectStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseBlockSyntax ^> caseBlocks);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax SelectBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax selectStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax> caseBlocks);
static member SelectBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax
Public Shared Function SelectBlock (selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(Of CaseBlockSyntax)) As SelectBlockSyntax

Parameters

selectStatement
SelectStatementSyntax

The Select Case statement that begins the block.

caseBlocks
SyntaxList<CaseBlockSyntax>

A list of the contained Case blocks.

Returns

Applies to

SelectBlock(SelectStatementSyntax)

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 Select Case block, including the Select Case that begins it, the contains Case blocks and the End Select.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectBlockSyntax ^ SelectBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectStatementSyntax ^ selectStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax SelectBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax selectStatement);
static member SelectBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectBlockSyntax
Public Shared Function SelectBlock (selectStatement As SelectStatementSyntax) As SelectBlockSyntax

Parameters

selectStatement
SelectStatementSyntax

The Select Case statement that begins the block.

Returns

Applies to