Version

Remove(ToolbarItemType) Method

Removes the first occurrence of a specific BaseToolbarItem with a Type property matching the passed value.
Syntax
'Declaration
 
Public Overloads Sub Remove( _
   ByVal type As ToolbarItemType _
) 
public void Remove( 
   ToolbarItemType type
)

Parameters

type
The ToolbarItemType specifying the BaseToolbarItem to remove from the collection.
Remarks

This method both removes the object from the collection (if found), and removes the reference to this object in the ASP.NET web control heirarchy. type is compared to the Type property of each BaseToolbarItem in the collection.

Requirements

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