共用方式為


SyntaxTriviaList.IndexOf(SyntaxTrivia) 方法

定義

public:
 int IndexOf(Microsoft::CodeAnalysis::SyntaxTrivia triviaInList);
public int IndexOf (Microsoft.CodeAnalysis.SyntaxTrivia triviaInList);
member this.IndexOf : Microsoft.CodeAnalysis.SyntaxTrivia -> int
Public Function IndexOf (triviaInList As SyntaxTrivia) As Integer

參數

triviaInList
SyntaxTrivia

傳回

適用於