CSharpSyntaxVisitor<TResult>.VisitReturnStatement 方法

定义

访问者访问 ReturnStatementSyntax 节点时调用。

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

参数

返回

TResult

适用于