Share via


SyntaxFactory.ElseIfStatement Method

Definition

Overloads

ElseIfStatement(ExpressionSyntax)

Represents the "ElseIf ... Then" statement that begins an "ElseIf" block.

ElseIfStatement(SyntaxToken, ExpressionSyntax, SyntaxToken)

Represents the "ElseIf ... Then" statement that begins an "ElseIf" block.

ElseIfStatement(ExpressionSyntax)

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 the "ElseIf ... Then" statement that begins an "ElseIf" block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfStatementSyntax ^ ElseIfStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ condition);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax ElseIfStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax condition);
static member ElseIfStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax
Public Shared Function ElseIfStatement (condition As ExpressionSyntax) As ElseIfStatementSyntax

Parameters

condition
ExpressionSyntax

The condition expression to be evaluated.

Returns

Applies to

ElseIfStatement(SyntaxToken, ExpressionSyntax, SyntaxToken)

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 the "ElseIf ... Then" statement that begins an "ElseIf" block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfStatementSyntax ^ ElseIfStatement(Microsoft::CodeAnalysis::SyntaxToken elseIfKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ condition, Microsoft::CodeAnalysis::SyntaxToken thenKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax ElseIfStatement (Microsoft.CodeAnalysis.SyntaxToken elseIfKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax condition, Microsoft.CodeAnalysis.SyntaxToken thenKeyword);
static member ElseIfStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax
Public Shared Function ElseIfStatement (elseIfKeyword As SyntaxToken, condition As ExpressionSyntax, thenKeyword As SyntaxToken) As ElseIfStatementSyntax

Parameters

elseIfKeyword
SyntaxToken

The "ElseIf" keyword.

condition
ExpressionSyntax

The condition expression to be evaluated.

thenKeyword
SyntaxToken

The "Then" keyword.

Returns

Applies to