Version

Insert Method (NavigationBarPreviousLocationsCollection)

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, or not associated with any UltraNavigationBar.
Remarks

Note: When the collection contains the maximum allowable number of items (as specified by the MaximumItems property), and a new member is inserted into the collection, the "oldest" member of the collection is removed before the new one is added. When a UltraNavigationBarLocation which already exists in the collection is inserted, it is removed from its existing position and re-inserted at the new position.

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