Share via


SyntaxTrivia.GetAnnotations Method

Definition

Overloads

GetAnnotations(String)

Get all the annotations of the specified annotation kind.

GetAnnotations(String[])

Get all the annotations of the specified annotation kinds.

GetAnnotations(String)

Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

Get all the annotations of the specified annotation kind.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ GetAnnotations(System::String ^ annotationKind);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> GetAnnotations (string annotationKind);
member this.GetAnnotations : string -> seq<Microsoft.CodeAnalysis.SyntaxAnnotation>
Public Function GetAnnotations (annotationKind As String) As IEnumerable(Of SyntaxAnnotation)

Parameters

annotationKind
String

Returns

Applies to

GetAnnotations(String[])

Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

Get all the annotations of the specified annotation kinds.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ GetAnnotations(... cli::array <System::String ^> ^ annotationKinds);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> GetAnnotations (params string[] annotationKinds);
member this.GetAnnotations : string[] -> seq<Microsoft.CodeAnalysis.SyntaxAnnotation>
Public Function GetAnnotations (ParamArray annotationKinds As String()) As IEnumerable(Of SyntaxAnnotation)

Parameters

annotationKinds
String[]

Returns

Applies to