RSS.NET

RssChannelCollection.IndexOf Method 

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

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

Parameters

rssChannel
The RssChannel to locate in the RssChannelCollection.

Return Value

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

See Also

RssChannelCollection Class | Rss Namespace