共用方式為


ISymbol.Accept 方法

定義

多載

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

Accept(SymbolVisitor)

Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
public:
 void Accept(Microsoft::CodeAnalysis::SymbolVisitor ^ visitor);
public void Accept (Microsoft.CodeAnalysis.SymbolVisitor visitor);
abstract member Accept : Microsoft.CodeAnalysis.SymbolVisitor -> unit
Public Sub Accept (visitor As SymbolVisitor)

參數

visitor
SymbolVisitor

適用於

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

Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
public TResult Accept<TArgument,TResult> (Microsoft.CodeAnalysis.SymbolVisitor<TArgument,TResult> visitor, TArgument argument);
abstract member Accept : Microsoft.CodeAnalysis.SymbolVisitor<'Argument, 'Result> * 'Argument -> 'Result
Public Function Accept(Of TArgument, TResult) (visitor As SymbolVisitor(Of TArgument, TResult), argument As TArgument) As TResult

類型參數

TArgument
TResult

參數

argument
TArgument

傳回

TResult

適用於

Accept<TResult>(SymbolVisitor<TResult>)

Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
Source:
ISymbol.cs
public:
generic <typename TResult>
 TResult Accept(Microsoft::CodeAnalysis::SymbolVisitor<TResult> ^ visitor);
public TResult Accept<TResult> (Microsoft.CodeAnalysis.SymbolVisitor<TResult> visitor);
public TResult? Accept<TResult> (Microsoft.CodeAnalysis.SymbolVisitor<TResult> visitor);
abstract member Accept : Microsoft.CodeAnalysis.SymbolVisitor<'Result> -> 'Result
Public Function Accept(Of TResult) (visitor As SymbolVisitor(Of TResult)) As TResult

類型參數

TResult

參數

傳回

TResult

適用於