SyntaxNode.HasAnnotations Method

Definition

Overloads

HasAnnotations(IEnumerable<String>)

Determines whether this node has any annotations with any of the specific annotation kinds.

HasAnnotations(String)

Determines whether this node has any annotations with the specific annotation kind.

HasAnnotations(IEnumerable<String>)

Determines whether this node has any annotations with any of the specific annotation kinds.

public:
 bool HasAnnotations(System::Collections::Generic::IEnumerable<System::String ^> ^ annotationKinds);
public bool HasAnnotations (System.Collections.Generic.IEnumerable<string> annotationKinds);
member this.HasAnnotations : seq<string> -> bool
Public Function HasAnnotations (annotationKinds As IEnumerable(Of String)) As Boolean

Parameters

annotationKinds
IEnumerable<String>

Returns

Boolean

Applies to

HasAnnotations(String)

Determines whether this node has any annotations with the specific annotation kind.

public:
 bool HasAnnotations(System::String ^ annotationKind);
public bool HasAnnotations (string annotationKind);
member this.HasAnnotations : string -> bool
Public Function HasAnnotations (annotationKind As String) As Boolean

Parameters

annotationKind
String

Returns

Boolean

Applies to