RSS.NET

RssCategoryCollection.IndexOf Method 

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

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

Parameters

rssCategory
The RssCategory to locate in the RssCategoryCollection.

Return Value

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

See Also

RssCategoryCollection Class | Rss Namespace