Partager via


SyntaxToken.HasAnnotation(SyntaxAnnotation) Méthode

Définition

True si ce jeton a l’annotation spécifiée.

public:
 bool HasAnnotation(Microsoft::CodeAnalysis::SyntaxAnnotation ^ annotation);
public bool HasAnnotation (Microsoft.CodeAnalysis.SyntaxAnnotation annotation);
public bool HasAnnotation (Microsoft.CodeAnalysis.SyntaxAnnotation? annotation);
member this.HasAnnotation : Microsoft.CodeAnalysis.SyntaxAnnotation -> bool
Public Function HasAnnotation (annotation As SyntaxAnnotation) As Boolean

Paramètres

annotation
SyntaxAnnotation

Retours

S’applique à