共用方式為


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>

Statements 屬性的值。

nextStatement
NextStatementSyntax

NextStatement 屬性的值。

傳回

適用於