ICreate.Controls.Bars Send comments on this topic.
Items Property
See Also 
ICreate.Controls.Bars Namespace > TaskBar Class : Items Property






Gets or sets the collection of TaskBarItem components displayed on the TaskBar.

Syntax

Visual Basic (Declaration) 
Public Property Items As BarItemCollection(Of TaskBarItem)
Visual Basic (Usage)Copy Code
Dim instance As TaskBar
Dim value As BarItemCollection(Of TaskBarItem)
 
instance.Items = value
 
value = instance.Items
C# 
public BarItemCollection<TaskBarItem> Items {get; set;}
Delphi 
public read-write property Items: BarItemCollection; 
JScript 
public function get,set Items : BarItemCollection
Managed Extensions for C++ 
public: __property BarItemCollection<TaskBarItem>* get_Items();
public: __property void set_Items( 
   BarItemCollection<TaskBarItem>* value
);
C++/CLI 
public:
property BarItemCollection<TaskBarItem>^ Items {
   BarItemCollection<TaskBarItem>^ get();
   void set (BarItemCollection<TaskBarItem>^ value);
}

Return Value

A reference to a BarItemCollection, this property stores the collection of TaskBarItem components owned by and displayed on the TaskBar. The default value is a collection containing no TaskBarItem components.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also