共用方式為


CSharpSyntaxVisitor<TResult>.VisitExpressionStatement 方法

定義

當訪客造訪 ExpressionStatementSyntax 節點時呼叫。

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

參數

傳回

TResult

適用於