共用方式為


OperationVisitor<TArgument,TResult>.VisitLiteral Method

Definition

public:
 virtual TResult VisitLiteral(Microsoft::CodeAnalysis::Operations::ILiteralOperation ^ operation, TArgument argument);
public virtual TResult VisitLiteral (Microsoft.CodeAnalysis.Operations.ILiteralOperation operation, TArgument argument);
public virtual TResult? VisitLiteral (Microsoft.CodeAnalysis.Operations.ILiteralOperation operation, TArgument argument);
abstract member VisitLiteral : Microsoft.CodeAnalysis.Operations.ILiteralOperation * 'Argument -> 'Result
override this.VisitLiteral : Microsoft.CodeAnalysis.Operations.ILiteralOperation * 'Argument -> 'Result
Public Overridable Function VisitLiteral (operation As ILiteralOperation, argument As TArgument) As TResult

Parameters

operation
ILiteralOperation
argument
TArgument

Returns

TResult

Applies to