SyntaxFactory.ElseIfBlock 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ElseIfBlock(ElseIfStatementSyntax) |
表示“ElseIf...然后...”块。 |
ElseIfBlock(ElseIfStatementSyntax, SyntaxList<StatementSyntax>) |
表示“ElseIf...然后...”块。 |
ElseIfBlock(ElseIfStatementSyntax)
- 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
表示“ElseIf...然后...”块。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfBlockSyntax ^ ElseIfBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfStatementSyntax ^ elseIfStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax ElseIfBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax elseIfStatement);
static member ElseIfBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax
Public Shared Function ElseIfBlock (elseIfStatement As ElseIfStatementSyntax) As ElseIfBlockSyntax
参数
- elseIfStatement
- ElseIfStatementSyntax
“ElseIf...然后“语句开始”ElseIf“块。
返回
适用于
ElseIfBlock(ElseIfStatementSyntax, 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
表示“ElseIf...然后...”块。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfBlockSyntax ^ ElseIfBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfStatementSyntax ^ elseIfStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax ElseIfBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax elseIfStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member ElseIfBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax
Public Shared Function ElseIfBlock (elseIfStatement As ElseIfStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As ElseIfBlockSyntax
参数
- elseIfStatement
- ElseIfStatementSyntax
“ElseIf...然后“语句开始”ElseIf“块。
- statements
- SyntaxList<StatementSyntax>
如果“ElseIf”语句的条件表达式的计算结果为 true,则要执行的语句列表。