CatchStatementSyntax.WithWhenClause(CatchFilterClauseSyntax) Método

Definição

Retorna uma cópia disso com a propriedade WhenClause alterada para o valor especificado. Retorna essa instância se o valor especificado for o mesmo que o valor atual.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchStatementSyntax ^ WithWhenClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchFilterClauseSyntax ^ whenClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax WithWhenClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax whenClause);
member this.WithWhenClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax
Public Function WithWhenClause (whenClause As CatchFilterClauseSyntax) As CatchStatementSyntax

Parâmetros

Retornos

Aplica-se a