CatchStatementSyntax.WhenClause Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.CatchFilterClauseSyntaxPublic ReadOnly Property WhenClause As CatchFilterClauseSyntaxProperty Value
Remarks
This child is optional. If it is not present, then Nothing is returned.