SyntaxFactory.SelectBlock 方法

定义

重载

SelectBlock(SelectStatementSyntax, SyntaxList<CaseBlockSyntax>, EndBlockStatementSyntax)

表示 Select Case 块,包括开始它的 Select Case、contains Case 块和结束选择。

SelectBlock(SelectStatementSyntax, SyntaxList<CaseBlockSyntax>)

表示 Select Case 块,包括开始它的 Select Case、contains Case 块和结束选择。

SelectBlock(SelectStatementSyntax)

表示 Select Case 块,包括开始它的 Select Case、contains Case 块和结束选择。

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
Source:
Syntax.xml.Main.Generated.vb

表示 Select Case 块,包括开始它的 Select Case、contains Case 块和结束选择。

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

参数

selectStatement
SelectStatementSyntax

开始块的 Select Case 语句。

caseBlocks
SyntaxList<CaseBlockSyntax>

包含的 Case 块的列表。

endSelectStatement
EndBlockStatementSyntax

结束块的 End Select 语句。

返回

适用于

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
Source:
Syntax.xml.Main.Generated.vb

表示 Select Case 块,包括开始它的 Select Case、contains Case 块和结束选择。

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

参数

selectStatement
SelectStatementSyntax

开始块的 Select Case 语句。

caseBlocks
SyntaxList<CaseBlockSyntax>

包含的 Case 块的列表。

返回

适用于

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
Source:
Syntax.xml.Main.Generated.vb

表示 Select Case 块,包括开始它的 Select Case、contains Case 块和结束选择。

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

参数

selectStatement
SelectStatementSyntax

开始块的 Select Case 语句。

返回

适用于