CatchStatementSyntax.Update Metodo

Definizione

Restituisce una copia di questo oggetto con le modifiche specificate. Restituisce questa istanza se non sono presenti modifiche effettive.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken catchKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ identifierName, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause, Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchFilterClauseSyntax ^ whenClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken catchKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax identifierName, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause, Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax whenClause);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax
Public Function Update (catchKeyword As SyntaxToken, identifierName As IdentifierNameSyntax, asClause As SimpleAsClauseSyntax, whenClause As CatchFilterClauseSyntax) As CatchStatementSyntax

Parametri

catchKeyword
SyntaxToken

Valore per la proprietà CatchKeyword.

identifierName
IdentifierNameSyntax

Valore della proprietà IdentifierName.

asClause
SimpleAsClauseSyntax

Valore della proprietà AsClause.

whenClause
CatchFilterClauseSyntax

Valore della proprietà WhenClause.

Restituisce

Si applica a