Compartir a través de


ClientObjectCollection<T>.Item Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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