共用方式為


CSharpSyntaxVisitor<TResult>.VisitLiteralExpression 方法

定義

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

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

參數

傳回

TResult

適用於