SyntaxNode.GetFirstToken(Boolean, Boolean, Boolean, Boolean) 메서드

정의

이 노드에서 루팅된 트리의 첫 번째 토큰을 가져옵니다. 기본적으로 너비가 0인 토큰을 건너뜁니다.

public Microsoft.CodeAnalysis.SyntaxToken GetFirstToken(bool includeZeroWidth = false, bool includeSkipped = false, bool includeDirectives = false, bool includeDocumentationComments = false);
member this.GetFirstToken : bool * bool * bool * bool -> Microsoft.CodeAnalysis.SyntaxToken
Public Function GetFirstToken (Optional includeZeroWidth As Boolean = false, Optional includeSkipped As Boolean = false, Optional includeDirectives As Boolean = false, Optional includeDocumentationComments As Boolean = false) As SyntaxToken

매개 변수

includeZeroWidth
Boolean
includeSkipped
Boolean
includeDirectives
Boolean
includeDocumentationComments
Boolean

반품

첫 번째 토큰 또는 default(SyntaxToken) 토큰이 없는 경우

적용 대상