Searches for the specified object and returns the zero-based index of the first occurrence within the entire
System.Collections.ObjectModel.ReadOnlyCollection`1.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function IndexOf( _
ByVal value As SchemaItem _
) As System.Integer |
Parameters
- value
- The object to locate in the System.Collections.Generic.List`1. The value can be null for reference types.
Return Value
The zero-based index of the first occurrence of
item within the entire
System.Collections.ObjectModel.ReadOnlyCollection`1, if found; otherwise, -1.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also