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

返回

适用于