SyntaxNode.GetAnnotatedTokens 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
GetAnnotatedTokens(SyntaxAnnotation) |
Gets all tokens with the specified annotation. |
GetAnnotatedTokens(String) |
Gets all tokens with the specified annotation kind. |
GetAnnotatedTokens(SyntaxAnnotation)
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
Gets all tokens with the specified annotation.
public:
System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxToken> ^ GetAnnotatedTokens(Microsoft::CodeAnalysis::SyntaxAnnotation ^ syntaxAnnotation);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> GetAnnotatedTokens (Microsoft.CodeAnalysis.SyntaxAnnotation syntaxAnnotation);
member this.GetAnnotatedTokens : Microsoft.CodeAnalysis.SyntaxAnnotation -> seq<Microsoft.CodeAnalysis.SyntaxToken>
Public Function GetAnnotatedTokens (syntaxAnnotation As SyntaxAnnotation) As IEnumerable(Of SyntaxToken)
Parameters
- syntaxAnnotation
- SyntaxAnnotation
Returns
Applies to
GetAnnotatedTokens(String)
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
- Source:
- SyntaxNode.cs
Gets all tokens with the specified annotation kind.
public:
System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxToken> ^ GetAnnotatedTokens(System::String ^ annotationKind);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> GetAnnotatedTokens (string annotationKind);
member this.GetAnnotatedTokens : string -> seq<Microsoft.CodeAnalysis.SyntaxToken>
Public Function GetAnnotatedTokens (annotationKind As String) As IEnumerable(Of SyntaxToken)
Parameters
- annotationKind
- String
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.