SyntaxTrivia.GetAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.