BCGControlBar Library for .NET
Item Property (CollectionWithEvents)




The zero-based index of the element to get or set.

Gets or sets the element at the specified index.

Syntax
'Declaration
 
Public Overridable Default Property Item( _
   ByVal index As Integer _
) As Object
'Usage
 
Dim instance As CollectionWithEvents
Dim index As Integer
Dim value As Object
 
instance.Item(index) = value
 
value = instance.Item(index)
public virtual object this[ 
   int index
]; {get; set;}
public: __property virtual Object* get_Item   int index
;
public: __property virtual void set_Item   int index,
   Object* value
;
public:
virtual property Object^ default [int] {
   Object^ get(int index);
   void set (int indexObject^ value);
}

Parameters

index
The zero-based index of the element to get or set.
Requirements

Target Platforms: 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

Reference

CollectionWithEvents Class
CollectionWithEvents Members

Send Feedback