Compartilhar via


SyntaxNode.HasAnnotation(SyntaxAnnotation) Método

Definição

Determina se esse nó 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