다음을 통해 공유


SyntaxNode.HasAnnotation(SyntaxAnnotation) 메서드

정의

이 노드에 특정 주석이 있는지 여부를 확인합니다.

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

매개 변수

annotation
SyntaxAnnotation

반환

적용 대상