SyntaxNode.GetLastToken(Boolean, Boolean, Boolean, Boolean) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan token terakhir pohon yang berakar oleh simpul ini. Melompati token lebar nol.
public Microsoft.CodeAnalysis.SyntaxToken GetLastToken(bool includeZeroWidth = false, bool includeSkipped = false, bool includeDirectives = false, bool includeDocumentationComments = false);
member this.GetLastToken : bool * bool * bool * bool -> Microsoft.CodeAnalysis.SyntaxToken
Public Function GetLastToken (Optional includeZeroWidth As Boolean = false, Optional includeSkipped As Boolean = false, Optional includeDirectives As Boolean = false, Optional includeDocumentationComments As Boolean = false) As SyntaxToken
Parameter
- includeZeroWidth
- Boolean
- includeSkipped
- Boolean
- includeDirectives
- Boolean
- includeDocumentationComments
- Boolean
Mengembalikan
Token terakhir atau default(SyntaxToken) jika tidak ada.