Compartilhar via


SyntaxToken.HasAnnotation(SyntaxAnnotation) Método

Definição

True se esse token tiver a anotação especificada.

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

Parâmetros

annotation
SyntaxAnnotation

Retornos

Aplica-se a