IndexOf Method (Elements)
In This Topic
Get the index of an element in the collection.
Syntax
'Declaration
Public Overridable Function IndexOf( _
ByVal As Object _
) As Integer
'Usage
Dim instance As Elements
Dim element As Object
Dim value As Integer
value = instance.IndexOf(element)
public virtual int IndexOf(
object
)
Parameters
- element
- Element object
See Also