SyntaxNode.HasAnnotations 方法

定义

重载

HasAnnotations(IEnumerable<String>)

确定此节点是否具有具有任何特定批注类型的任何批注。

HasAnnotations(String)

确定此节点是否具有具有特定批注类型的任何批注。

HasAnnotations(IEnumerable<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:
 bool HasAnnotations(System::Collections::Generic::IEnumerable<System::String ^> ^ annotationKinds);
public bool HasAnnotations (System.Collections.Generic.IEnumerable<string> annotationKinds);
member this.HasAnnotations : seq<string> -> bool
Public Function HasAnnotations (annotationKinds As IEnumerable(Of String)) As Boolean

参数

annotationKinds
IEnumerable<String>

返回

适用于

HasAnnotations(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:
 bool HasAnnotations(System::String ^ annotationKind);
public bool HasAnnotations (string annotationKind);
member this.HasAnnotations : string -> bool
Public Function HasAnnotations (annotationKind As String) As Boolean

参数

annotationKind
String

返回

适用于