Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NElementCollection<T> Class / IndexOf Method


In This Topic
    IndexOf Method (NElementCollection<T>)
    In This Topic
    Returns the index of the specified item inside this collection. Returns -1 if the item is not contained in the collection.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As T _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NElementCollection(Of T)
    Dim item As T
    Dim value As System.Integer
     
    value = instance.IndexOf(item)
    public System.int IndexOf( 
       T item
    )

    Parameters

    item
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also