Share via


SyntaxFactory.ElseIfBlock Method

Definition

Overloads

ElseIfBlock(ElseIfStatementSyntax)

Represents an "ElseIf ... Then ..." block.

ElseIfBlock(ElseIfStatementSyntax, SyntaxList<StatementSyntax>)

Represents an "ElseIf ... Then ..." block.

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

Represents an "ElseIf ... Then ..." block.

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

Parameters

elseIfStatement
ElseIfStatementSyntax

The "ElseIf ... Then" statement the begins the "ElseIf" block.

Returns

Applies to

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

Represents an "ElseIf ... Then ..." block.

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

Parameters

elseIfStatement
ElseIfStatementSyntax

The "ElseIf ... Then" statement the begins the "ElseIf" block.

statements
SyntaxList<StatementSyntax>

A list of statements to be executed if the condition expression of the "ElseIf" statement evaluates as true.

Returns

Applies to