共用方式為


CSharpSyntaxVisitor<TResult>.VisitPropertyDeclaration 方法

定義

訪客造訪 PropertyDeclarationSyntax 節點時呼叫。

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

參數

傳回

TResult

適用於