Compartir a través de


SyntaxTrivia.HasAnnotation(SyntaxAnnotation) Método

Definición

Determina si esta trivia tiene la anotación 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

Devoluciones

Se aplica a