I have this bit of code, below, that finds the index of the first TextElement in eles that contains the dataValue. I want to modify it so I can pass a count and find the Nth occurrence of dataValue.
Dim eles As New List(Of TextElement)
dim dataValue as string = 'george washington'
index = eles.FindIndex(Function(dataValue As TextElement)
Return dataValue.value = dataValue
Private Class TextElement
Public value As String
Public element As XElement