SyntaxToken.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(IEnumerable<String>) |
Gets all the annotations of the specified annotation kind. |
GetAnnotations(String) |
Gets all the annotations of the specified annotation kind. |
GetAnnotations(String[]) |
Gets all the annotations of the specified annotation kind. |
GetAnnotations(IEnumerable<String>)
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
Gets all the annotations of the specified annotation kind.
public:
System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ GetAnnotations(System::Collections::Generic::IEnumerable<System::String ^> ^ annotationKinds);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> GetAnnotations (System.Collections.Generic.IEnumerable<string> annotationKinds);
member this.GetAnnotations : seq<string> -> seq<Microsoft.CodeAnalysis.SyntaxAnnotation>
Public Function GetAnnotations (annotationKinds As IEnumerable(Of String)) As IEnumerable(Of SyntaxAnnotation)
Parameters
- annotationKinds
- IEnumerable<String>
Returns
Applies to
GetAnnotations(String)
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
Gets 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:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
- Source:
- SyntaxToken.cs
Gets all the annotations of the specified annotation kind.
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.