共用方式為


CatchClauseSyntax.WithFilter(CatchFilterClauseSyntax) Method

Definition

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

Parameters

Returns

Applies to