Share via


CatchFilterClauseSyntax.WithFilter(ExpressionSyntax) Method

Definition

Returns a copy of this with the Filter property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchFilterClauseSyntax ^ WithFilter(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ filter);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax WithFilter (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax filter);
member this.WithFilter : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchFilterClauseSyntax
Public Function WithFilter (filter As ExpressionSyntax) As CatchFilterClauseSyntax

Parameters

Returns

Applies to