共用方式為


SyntaxTrivia.HasAnnotations 方法

定義

多載

HasAnnotations(String)

判斷這個 Trivia 具有指定批註種類之注釋的位置。

HasAnnotations(String[])

判斷這個 Trivia 具有指定之批註種類的任何批註的位置。

HasAnnotations(String)

Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

判斷這個 Trivia 具有指定批註種類之注釋的位置。

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:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

判斷這個 Trivia 具有指定之批註種類的任何批註的位置。

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[]

傳回

適用於