Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NLightUIItemCollection Class / IndexOf Method


In This Topic
    IndexOf Method (NLightUIItemCollection)
    In This Topic
    Gets the zero-based index of the specified item.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As NLightUIItem _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NLightUIItemCollection
    Dim item As NLightUIItem
    Dim value As System.Integer
     
    value = instance.IndexOf(item)
    public System.int IndexOf( 
       NLightUIItem item
    )

    Parameters

    item

    Return Value

    The index of the item if it is contained, -1 otherwise.
    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