ForBlockSyntax.Update 方法

定义

返回具有指定更改的此副本。 如果没有实际更改,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ForBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::ForStatementSyntax ^ forStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::NextStatementSyntax ^ nextStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax forStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.NextStatementSyntax nextStatement);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.NextStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForBlockSyntax
Public Function Update (forStatement As ForStatementSyntax, statements As SyntaxList(Of StatementSyntax), nextStatement As NextStatementSyntax) As ForBlockSyntax

参数

forStatement
ForStatementSyntax

ForStatement 属性的值。

statements
SyntaxList<StatementSyntax>

语句属性的值。

nextStatement
NextStatementSyntax

NextStatement 属性的值。

返回

适用于