CatchFilterClauseSyntax.WithFilter(ExpressionSyntax) 方法

定义

返回此副本,其中 Filter 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

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

参数

返回

适用于