共用方式為


IOperation.Accept 方法

定義

多載

Accept(OperationVisitor)
Accept<TArgument,TResult>(OperationVisitor<TArgument,TResult>, TArgument)

Accept(OperationVisitor)

Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
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)

參數

適用於

Accept<TArgument,TResult>(OperationVisitor<TArgument,TResult>, TArgument)

Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
Source:
IOperation.cs
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

適用於