IOperation.Accept 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Accept(OperationVisitor) | |
Accept<TArgument,TResult>(OperationVisitor<TArgument,TResult>, TArgument) |
Accept(OperationVisitor)
public:
void Accept(Microsoft::CodeAnalysis::Operations::OperationVisitor ^ visitor);
public void Accept (Microsoft.CodeAnalysis.Operations.OperationVisitor visitor);
abstract member Accept : Microsoft.CodeAnalysis.Operations.OperationVisitor -> unit
Public Sub Accept (visitor As OperationVisitor)
參數
- visitor
- OperationVisitor
適用於
Accept<TArgument,TResult>(OperationVisitor<TArgument,TResult>, TArgument)
public:
generic <typename TArgument, typename TResult>
TResult Accept(Microsoft::CodeAnalysis::Operations::OperationVisitor<TArgument, TResult> ^ visitor, TArgument argument);
public TResult Accept<TArgument,TResult> (Microsoft.CodeAnalysis.Operations.OperationVisitor<TArgument,TResult> visitor, TArgument argument);
public TResult? Accept<TArgument,TResult> (Microsoft.CodeAnalysis.Operations.OperationVisitor<TArgument,TResult> visitor, TArgument argument);
abstract member Accept : Microsoft.CodeAnalysis.Operations.OperationVisitor<'Argument, 'Result> * 'Argument -> 'Result
Public Function Accept(Of TArgument, TResult) (visitor As OperationVisitor(Of TArgument, TResult), argument As TArgument) As TResult
類型參數
- TArgument
- TResult
參數
- argument
- TArgument
傳回
TResult