Partilhar via


IReadOnlyCollection<T>.Item Property

Gets the item at a specified index.

Namespace:  Microsoft.BusinessData.Infrastructure.Collections
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

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

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

Parameters

  • index
    Type: System.Int32

    The index of the item to be returned.

Property Value

Type: T

See Also

Reference

IReadOnlyCollection<T> Interface

IReadOnlyCollection<T> Members

Microsoft.BusinessData.Infrastructure.Collections Namespace