Version

IndexOf Method (VisibleItemsCollection)

Method that removes a item from the Items collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As NavBarItem _
) As Integer
public int IndexOf( 
   NavBarItem value
)

Parameters

value

Return Value

The index of value if found in the list; otherwise, -1.
Remarks

The Remove method clears a specified NavBarItem from the collection. The value passed into the method must be an item.

UltraOfficeNavBar4.Items.Remove(myItem)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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