共用方式為


CSharpSyntaxVisitor<TResult>.VisitDiscardPattern 方法

定義

訪客造訪 DiscardPatternSyntax 節點時呼叫。

public virtual TResult VisitDiscardPattern (Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax node);
public virtual TResult? VisitDiscardPattern (Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax node);
abstract member VisitDiscardPattern : Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax -> 'Result
override this.VisitDiscardPattern : Microsoft.CodeAnalysis.CSharp.Syntax.DiscardPatternSyntax -> 'Result
Public Overridable Function VisitDiscardPattern (node As DiscardPatternSyntax) As TResult

參數

傳回

TResult

適用於