Condividi tramite


SyntaxNode.HasAnnotation(SyntaxAnnotation) Metodo

Definizione

Determina se questo nodo ha l'annotazione specifica.

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

Parametri

annotation
SyntaxAnnotation

Restituisce

Si applica a