Compartir a través de


CatchStatementSyntax.WhenClause Property

Definition

A "When" clause to filter exceptions before catching.

public:
 property Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchFilterClauseSyntax ^ WhenClause { Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchFilterClauseSyntax ^ get(); };
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax WhenClause { get; }
member this.WhenClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax
Public ReadOnly Property WhenClause As CatchFilterClauseSyntax

Property Value

Remarks

This child is optional. If it is not present, then Nothing is returned.

Applies to