Share via


GenericCollection<T>.Item property

Gets an integer indexer for this collection.

Namespace:  Microsoft.SharePoint.Taxonomy.Generic
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Usage
Dim instance As GenericCollection
Dim index As Integer
Dim value As T

value = instance(index)
public T this[
    int index
] { get; }

Parameters

Property value

Type: T
The index-th item from the Collection.

Exceptions

Exception Condition
ArgumentOutOfRangeException

See also

Reference

GenericCollection<T> class

GenericCollection<T> members

Microsoft.SharePoint.Taxonomy.Generic namespace