ClientObjectCollection<T>.Item property

Gets the element at the specified index of the ClientObjectCollection<T>.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

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

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

Parameters

  • index
    Type: System.Int32

    The zero-based index of the element.

Property value

Type: T
The element at the specified index of the ClientObjectCollection<T>.

Remarks

This method is an O(1) operation.

See also

Reference

ClientObjectCollection<T> class

ClientObjectCollection<T> members

Microsoft.SharePoint.Client namespace