Delen via


CSharpSyntaxVisitor<TResult>.VisitReturnStatement Method

Definition

Called when the visitor visits a ReturnStatementSyntax node.

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

Parameters

Returns

TResult

Applies to