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