MultiLineIfBlockSyntax.Update メソッド

定義

指定した変更を含むこのコピーを返します。 実際の変更がない場合は、このインスタンスを返します。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineIfBlockSyntax ^ Update(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 Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax Update (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);
member this.Update : 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 Function Update (ifStatement As IfStatementSyntax, statements As SyntaxList(Of StatementSyntax), elseIfBlocks As SyntaxList(Of ElseIfBlockSyntax), elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) As MultiLineIfBlockSyntax

パラメーター

ifStatement
IfStatementSyntax

IfStatement プロパティの値。

statements
SyntaxList<StatementSyntax>

Statements プロパティの値。

elseIfBlocks
SyntaxList<ElseIfBlockSyntax>

ElseIfBlocks プロパティの値。

elseBlock
ElseBlockSyntax

ElseBlock プロパティの値。

endIfStatement
EndBlockStatementSyntax

EndIfStatement プロパティの値。

戻り値

適用対象