Partilhar 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