Nevron .NET Vision
Nevron.Dom Namespace / NElementList Class / IndexOf Method
the element to locate


In This Topic
    IndexOf Method (NElementList)
    In This Topic
    Searches for the specified element and returns the zero-based index of the first occurrence within the collection
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal value As INElement _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NElementList
    Dim value As INElement
    Dim value As System.Integer
     
    value = instance.IndexOf(value)
    public System.int IndexOf( 
       INElement value
    )

    Parameters

    value
    the element to locate

    Return Value

    index of the element
    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