Version

Insert Method (NavigationBarLocationsCollection)

Inserts the specified UltraNavigationBarLocation into the collection at the specified index.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal location As UltraNavigationBarLocation _
) 
public void Insert( 
   int index,
   UltraNavigationBarLocation location
)

Parameters

index
The ordinal position at which to insert the specified UltraNavigationBarLocation instance.
location
The UltraNavigationBarLocation to be inserted.
Exceptions
ExceptionDescription
System.ExceptionThrown when the specified UltraNavigationBarLocation instance is associated with a different UltraNavigationBar instance than the one with which this collection is associated. Also thrown if the specified UltraNavigationBarLocation is the UltraNavigationBar.RootLocation, already belongs to this collection, or belongs to a different collection.
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