Compartir a través de


SyntaxNode.HasAnnotation(SyntaxAnnotation) Método

Definición

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