Compartilhar via


SyntaxTrivia.HasAnnotation(SyntaxAnnotation) Método

Definição

Determina se essa curiosidade tem a anotação específica.

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