OperatorBlockSyntax.Update 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回具有指定更改的此副本。 如果没有实际更改,则返回此实例。
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 属性的值。