Udostępnij za pośrednictwem


CSharpSyntaxVisitor<TResult>.VisitConstantPattern Method

Definition

Called when the visitor visits a ConstantPatternSyntax node.

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

Parameters

Returns

TResult

Applies to