Share via


SyntaxTriviaList.IndexOf(SyntaxTrivia) Method

Definition

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

Parameters

triviaInList
SyntaxTrivia

Returns

Applies to