共用方式為


OperationVisitor<TArgument,TResult>.VisitWith 方法

定義

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

參數

operation
IWithOperation
argument
TArgument

傳回

TResult

適用於