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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.