Atom.NET documentation

AtomLinkCollection.IndexOf Method 

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

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

Parameters

link
The AtomLink to locate in the AtomLinkCollection.

Return Value

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

See Also

AtomLinkCollection Class | Atom.Core.Collections Namespace