共用方式為


CSharpSyntaxVisitor<TResult>.VisitFieldDeclaration Method

Definition

Called when the visitor visits a FieldDeclarationSyntax node.

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

Parameters

Returns

TResult

Applies to