RSS.NET

RssItemCollection.IndexOf Method 

Searches for the specified RssItem and returns the zero-based index of the first occurrence within the entire RssItemCollection.

[Visual Basic]
Public Function IndexOf( _
   ByVal rssItem As RssItem _
) As Integer
[C#]
public int IndexOf(
   RssItem rssItem
);

Parameters

rssItem
The RssItem to locate in the RssItemCollection.

Return Value

The zero-based index of the first occurrence of RssItem within the entire RssItemCollection, if found; otherwise, -1.

See Also

RssItemCollection Class | Rss Namespace