RSS.NET

ExceptionCollection.IndexOf Method 

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

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

Parameters

exception
The Exception to locate in the ExceptionCollection.

Return Value

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

See Also

ExceptionCollection Class | Rss Namespace