다음을 통해 공유


SyntaxFactory.MultiLineIfBlock 메서드

정의

오버로드

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

여러 줄 "If ... 다음... ElseIf ... 다음... 다른... End If" 블록.

MultiLineIfBlock(IfStatementSyntax)

여러 줄 "If ... 다음... ElseIf ... 다음... 다른... End If" 블록.

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

여러 줄 "If ... 다음... ElseIf ... 다음... 다른... 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
Source:
Syntax.xml.Main.Generated.vb

여러 줄 "If ... 다음... ElseIf ... 다음... 다른... 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

매개 변수

ifStatement
IfStatementSyntax

"If" 블록을 시작하는 "If" 문입니다.

statements
SyntaxList<StatementSyntax>

조건 식이 true로 평가되는 경우 실행할 문 목록입니다.

elseIfBlocks
SyntaxList<ElseIfBlockSyntax>

"If" 문의 조건 식이 false로 평가되는 경우 계산할 "ElseIf" 블록의 목록입니다.

elseBlock
ElseBlockSyntax

"If" 문과 모든 "ElseIf" 블록의 조건 식이 false로 평가되면 실행할 "Else" 블록입니다.

endIfStatement
EndBlockStatementSyntax

그런 다음 "End If" 문을 실행합니다.

반환

적용 대상

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

여러 줄 "If ... 다음... ElseIf ... 다음... 다른... 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

매개 변수

ifStatement
IfStatementSyntax

"If" 블록을 시작하는 "If" 문입니다.

반환

적용 대상

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

여러 줄 "If ... 다음... ElseIf ... 다음... 다른... 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

매개 변수

ifStatement
IfStatementSyntax

"If" 블록을 시작하는 "If" 문입니다.

statements
SyntaxList<StatementSyntax>

조건 식이 true로 평가되는 경우 실행할 문 목록입니다.

elseIfBlocks
SyntaxList<ElseIfBlockSyntax>

"If" 문의 조건 식이 false로 평가되는 경우 계산할 "ElseIf" 블록의 목록입니다.

elseBlock
ElseBlockSyntax

"If" 문과 모든 "ElseIf" 블록의 조건 식이 false로 평가되면 실행할 "Else" 블록입니다.

반환

적용 대상