Version

RemoveAt(Int32,Boolean) Method

Removes a UltraExplorerBarGroup from the collection via index.
Syntax
'Declaration
 
Public Overloads Sub RemoveAt( _
   ByVal index As Integer, _
   ByVal disposeContainer As Boolean _
) 
public void RemoveAt( 
   int index,
   bool disposeContainer
)

Parameters

index
The ordinal position within this collection of the group to be removed.
disposeContainer
Boolean value which specifies whether to automatically dispose of the UltraExplorerBarContainerControl instance returned by the group's Container property.
Remarks

Note: Specifying false for the value of the disposeContainer parameter will prevent the container control (used when the group's style is 'ControlContainer') from being automatically disposed of when the group is removed. This is useful in the case where the group being removed is going to be re-inserted at a different position within the collection immediately after being removed. Failure to dispose of a control can cause memory leaks, and as such should be avoided. If false is specified for the value of the disposeContainer parameter, the end developer is then responsible for eventually disposing of the container control.

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