Atom.NET documentation

AtomContentCollection.IndexOf Method 

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

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

Parameters

content
The AtomContent to locate in the AtomContentCollection.

Return Value

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

See Also

AtomContentCollection Class | Atom.Core.Collections Namespace