CSharpSyntaxVisitor<TResult>.VisitDefineDirectiveTrivia 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
访问者访问 DefineDirectiveTriviaSyntax 节点时调用。
public:
virtual TResult VisitDefineDirectiveTrivia(Microsoft::CodeAnalysis::CSharp::Syntax::DefineDirectiveTriviaSyntax ^ node);
public virtual TResult VisitDefineDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax node);
public virtual TResult? VisitDefineDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax node);
abstract member VisitDefineDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax -> 'Result
override this.VisitDefineDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax -> 'Result
Public Overridable Function VisitDefineDirectiveTrivia (node As DefineDirectiveTriviaSyntax) As TResult
参数
返回
TResult