Partilhar via


SyntaxNodeOrToken.HasAnnotation(SyntaxAnnotation) Método

Definição

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