共用方式為


CSharpSyntaxVisitor<TResult>.VisitAttribute(AttributeSyntax) Method

Definition

Called when the visitor visits a AttributeSyntax node.

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

Parameters

Returns

TResult

Applies to