Spread Windows Forms 7.0 Product Documentation
Item Property
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > CollectionBase<T> Class : Item Property


index
The zero-based index of the collection to access.

Glossary Item Box

Gets or sets the T at the specified index in the collection.

Syntax

Visual Basic (Declaration) 
Public Default Property Item( _
   ByVal index As Integer _
) As T
Visual Basic (Usage)Copy Code
Dim instance As CollectionBase(Of T)
Dim index As Integer
Dim value As T
 
instance.Item(index) = value
 
value = instance.Item(index)
C# 
public T this[ 
   int index
]; {get; set;}

Parameters

index
The zero-based index of the collection to access.

Property Value

A T at each valid index.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException The index parameter is outside the valid range of indexes for the collection.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.