Partilhar via


CatchBlockSyntax.Update Método

Definição

Retorna uma cópia disso com as alterações especificadas. Retorna essa instância se não houver alterações reais.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchStatementSyntax ^ catchStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax catchStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax
Public Function Update (catchStatement As CatchStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As CatchBlockSyntax

Parâmetros

catchStatement
CatchStatementSyntax

O valor da propriedade CatchStatement.

statements
SyntaxList<StatementSyntax>

O valor da propriedade Statements.

Retornos

Aplica-se a