RSS.NET

RssModuleCollection.IndexOf Method 

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

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

Parameters

rssModule
The RssModule to locate in the RssModuleCollection.

Return Value

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

See Also

RssModuleCollection Class | Rss Namespace