Spread Windows Forms 18
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CollectionBase<T> Class / Item Property
The zero-based index of the collection to access.


In This Topic
    Item Property (CollectionBase<T>)
    In This Topic
    Gets or sets the T at the specified index in the collection.
    Syntax
    'Declaration
     
    
    Public Default Property Item( _
       ByVal index As Integer _
    ) As T
    'Usage
     
    
    Dim instance As CollectionBase(Of T)
    Dim index As Integer
    Dim value As T
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    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
    The index parameter is outside the valid range of indexes for the collection.
    See Also