共用方式為


SyntaxToken.HasAnnotations 方法

定義

多載

HasAnnotations(String)

如果這個標記具有指定之批註類型的注釋,則為 True。

HasAnnotations(String[])

如果這個標記具有指定之批註類型的注釋,則為 True。

HasAnnotations(String)

Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs

如果這個標記具有指定之批註類型的注釋,則為 True。

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

傳回

適用於

HasAnnotations(String[])

Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs

如果這個標記具有指定之批註類型的注釋,則為 True。

public:
 bool HasAnnotations(... cli::array <System::String ^> ^ annotationKinds);
public bool HasAnnotations (params string[] annotationKinds);
member this.HasAnnotations : string[] -> bool
Public Function HasAnnotations (ParamArray annotationKinds As String()) As Boolean

參數

annotationKinds
String[]

傳回

適用於