Atom.NET documentation

AtomPersonConstructCollection.IndexOf Method 

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

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

Parameters

contributor
The AtomPersonConstruct to locate in the AtomPersonConstructCollection.

Return Value

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

See Also

AtomPersonConstructCollection Class | Atom.Core.Collections Namespace