共用方式為


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

傳回

適用於