SyntaxNode.GetAnnotatedNodes 方法

定义

重载

GetAnnotatedNodes(SyntaxAnnotation)

获取具有指定批注的所有节点。

GetAnnotatedNodes(String)

获取具有指定批注类型的所有节点。

GetAnnotatedNodes(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::SyntaxNode ^> ^ GetAnnotatedNodes(Microsoft::CodeAnalysis::SyntaxAnnotation ^ syntaxAnnotation);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> GetAnnotatedNodes (Microsoft.CodeAnalysis.SyntaxAnnotation syntaxAnnotation);
member this.GetAnnotatedNodes : Microsoft.CodeAnalysis.SyntaxAnnotation -> seq<Microsoft.CodeAnalysis.SyntaxNode>
Public Function GetAnnotatedNodes (syntaxAnnotation As SyntaxAnnotation) As IEnumerable(Of SyntaxNode)

参数

syntaxAnnotation
SyntaxAnnotation

返回

适用于

GetAnnotatedNodes(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::SyntaxNode ^> ^ GetAnnotatedNodes(System::String ^ annotationKind);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> GetAnnotatedNodes (string annotationKind);
member this.GetAnnotatedNodes : string -> seq<Microsoft.CodeAnalysis.SyntaxNode>
Public Function GetAnnotatedNodes (annotationKind As String) As IEnumerable(Of SyntaxNode)

参数

annotationKind
String

返回

适用于