NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IList.IndexOf

When implemented by a class, determines the index of a specific item in the IList.

[Visual Basic]
Function IndexOf( _
   ByVal value As Object _
) As Integer
[C#]
int IndexOf(
   object value
);
[C++]
int IndexOf(
   Object* value
) = 0;
[JScript]
function IndexOf(
   value : Object
) : int;

Parameters

value
The Object to search for in the IList.

Return Value

The index of value if found in the list; otherwise,-1.

See Also

IList Interface | IList Members | System.Collections Namespace