SyntaxNode.GetAnnotatedTokens 方法

定义

重载

GetAnnotatedTokens(SyntaxAnnotation)

获取具有指定批注的所有标记。

GetAnnotatedTokens(String)

获取具有指定批注类型的所有标记。

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

获取具有指定批注的所有标记。

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)

参数

syntaxAnnotation
SyntaxAnnotation

返回

适用于

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

获取具有指定批注类型的所有标记。

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)

参数

annotationKind
String

返回

适用于