'Declaration Public Sub Insert( _ ByVal index As Integer, _ ByVal location As UltraNavigationBarLocation _ )
public void Insert( int index, UltraNavigationBarLocation location )
Exception | Description |
---|---|
System.Exception | Thrown 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. |
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.
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