Item(Int32) Property
See Also 
SourceCode.Framework Namespace > CollectionBase<TParent,TItem> Class > Item Property : Item(Int32) Property



index

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Overridable Property Item( _
   ByVal index As Integer _
) As TItem
Visual Basic (Usage) Copy Code
Dim instance As CollectionBase(Of TParent,TItem)
Dim index As Integer
Dim value As TItem
 
instance.Item(index) = value
 
value = instance.Item(index)
C#  
public virtual TItem Item( 
   int index
) {get; set;}
C++/CLI  
public:
virtual property TItem^ Item {
   TItem^ get(int index);
   void set (int index, TItem^ value);
}

Parameters

index

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