RSS.NET

RssModuleItemCollection.IndexOf Method 

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

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

Parameters

rssModuleItem
The RssModuleItem to locate in the RssModuleItemCollection.

Return Value

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

See Also

RssModuleItemCollection Class | Rss Namespace