Compartir a través de


SyntaxNode.GetLastToken(Boolean, Boolean, Boolean, Boolean) Método

Definición

Obtiene el último token del árbol modificado por este nodo. Omite los tokens de ancho cero.

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

Parámetros

includeZeroWidth
Boolean
includeSkipped
Boolean
includeDirectives
Boolean
includeDocumentationComments
Boolean

Devoluciones

Último token o default(SyntaxToken) si no existe.

Se aplica a