SyntaxNode.GetFirstToken(Boolean, Boolean, Boolean, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le premier jeton de l’arborescence enracinée par ce nœud. Ignore les jetons de largeur zéro par défaut.
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
Paramètres
- includeZeroWidth
- Boolean
- includeSkipped
- Boolean
- includeDirectives
- Boolean
- includeDocumentationComments
- Boolean
Retours
Premier jeton ou default(SyntaxToken) s’il n’existe pas.