OperatorBlockSyntax.Update 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorStatementSyntax ^ operatorStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endOperatorStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax operatorStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endOperatorStatement);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax
Public Function Update (operatorStatement As OperatorStatementSyntax, statements As SyntaxList(Of StatementSyntax), endOperatorStatement As EndBlockStatementSyntax) As OperatorBlockSyntax

参数

operatorStatement
OperatorStatementSyntax

OperatorStatement 属性的值。

statements
SyntaxList<StatementSyntax>

语句属性的值。

endOperatorStatement
EndBlockStatementSyntax

EndOperatorStatement 属性的值。

返回

适用于