Compartilhar via


SyntaxFactory.MultiLineIfBlock Método

Definição

Sobrecargas

MultiLineIfBlock(IfStatementSyntax, SyntaxList<StatementSyntax>, SyntaxList<ElseIfBlockSyntax>, ElseBlockSyntax, EndBlockStatementSyntax)

Representa uma linha múltipla "Se... Então... Elseif... Então... Mais... Bloco "End If".

MultiLineIfBlock(IfStatementSyntax)

Representa uma linha múltipla "Se... Então... Elseif... Então... Mais... Bloco "End If".

MultiLineIfBlock(IfStatementSyntax, SyntaxList<StatementSyntax>, SyntaxList<ElseIfBlockSyntax>, ElseBlockSyntax)

Representa uma linha múltipla "Se... Então... Elseif... Então... Mais... Bloco "End If".

MultiLineIfBlock(IfStatementSyntax, SyntaxList<StatementSyntax>, SyntaxList<ElseIfBlockSyntax>, ElseBlockSyntax, 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

Representa uma linha múltipla "Se... Então... Elseif... Então... Mais... Bloco "End If".

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineIfBlockSyntax ^ MultiLineIfBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::IfStatementSyntax ^ ifStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfBlockSyntax ^> elseIfBlocks, Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseBlockSyntax ^ elseBlock, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endIfStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax MultiLineIfBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.IfStatementSyntax ifStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax> elseIfBlocks, Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseBlockSyntax elseBlock, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endIfStatement);
static member MultiLineIfBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.IfStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseBlockSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax
Public Shared Function MultiLineIfBlock (ifStatement As IfStatementSyntax, statements As SyntaxList(Of StatementSyntax), elseIfBlocks As SyntaxList(Of ElseIfBlockSyntax), elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) As MultiLineIfBlockSyntax

Parâmetros

ifStatement
IfStatementSyntax

A instrução "If" que inicia o bloco "Se".

statements
SyntaxList<StatementSyntax>

Uma lista de instruções a serem executadas se a expressão de condição for avaliada como true.

elseIfBlocks
SyntaxList<ElseIfBlockSyntax>

Uma lista de blocos "ElseIf" a serem avaliados, em ordem, se a expressão de condição da instrução "If" for avaliada como false.

elseBlock
ElseBlockSyntax

Um bloco "Else" a ser executado se a expressão de condição da instrução "If" e todos os blocos "ElseIf" forem avaliados como false.

endIfStatement
EndBlockStatementSyntax

Em seguida, instrução "End If".

Retornos

Aplica-se a

MultiLineIfBlock(IfStatementSyntax)

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

Representa uma linha múltipla "Se... Então... Elseif... Então... Mais... Bloco "End If".

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineIfBlockSyntax ^ MultiLineIfBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::IfStatementSyntax ^ ifStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax MultiLineIfBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.IfStatementSyntax ifStatement);
static member MultiLineIfBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.IfStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax
Public Shared Function MultiLineIfBlock (ifStatement As IfStatementSyntax) As MultiLineIfBlockSyntax

Parâmetros

ifStatement
IfStatementSyntax

A instrução "If" que inicia o bloco "Se".

Retornos

Aplica-se a

MultiLineIfBlock(IfStatementSyntax, SyntaxList<StatementSyntax>, SyntaxList<ElseIfBlockSyntax>, ElseBlockSyntax)

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

Representa uma linha múltipla "Se... Então... Elseif... Então... Mais... Bloco "End If".

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineIfBlockSyntax ^ MultiLineIfBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::IfStatementSyntax ^ ifStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfBlockSyntax ^> elseIfBlocks, Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseBlockSyntax ^ elseBlock);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax MultiLineIfBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.IfStatementSyntax ifStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax> elseIfBlocks, Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseBlockSyntax elseBlock);
static member MultiLineIfBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.IfStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseBlockSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax
Public Shared Function MultiLineIfBlock (ifStatement As IfStatementSyntax, statements As SyntaxList(Of StatementSyntax), elseIfBlocks As SyntaxList(Of ElseIfBlockSyntax), elseBlock As ElseBlockSyntax) As MultiLineIfBlockSyntax

Parâmetros

ifStatement
IfStatementSyntax

A instrução "If" que inicia o bloco "Se".

statements
SyntaxList<StatementSyntax>

Uma lista de instruções a serem executadas se a expressão de condição for avaliada como true.

elseIfBlocks
SyntaxList<ElseIfBlockSyntax>

Uma lista de blocos "ElseIf" a serem avaliados, em ordem, se a expressão de condição da instrução "If" for avaliada como false.

elseBlock
ElseBlockSyntax

Um bloco "Else" a ser executado se a expressão de condição da instrução "If" e todos os blocos "ElseIf" forem avaliados como false.

Retornos

Aplica-se a