Compartir a través de


SyntaxNodeOrToken.HasAnnotation(SyntaxAnnotation) Método

Definición

Determina si este nodo o token 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