SyntaxNode.GetLeadingTrivia 方法

定义

源代码中此节点之前出现的琐事列表,并附加到此节点的后代的令牌。

public:
 Microsoft::CodeAnalysis::SyntaxTriviaList GetLeadingTrivia();
public Microsoft.CodeAnalysis.SyntaxTriviaList GetLeadingTrivia ();
member this.GetLeadingTrivia : unit -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Function GetLeadingTrivia () As SyntaxTriviaList

返回

适用于