Condividi tramite


SyntaxToken.HasAnnotation(SyntaxAnnotation) Metodo

Definizione

True se questo token ha l'annotazione specificata.

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