Share via


SPLinkCollection.Item Property

Gets the link object at the specified index in the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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

Parameters

  • index
    Type: System.Int32

    The zero-based index of the link to get.

Property Value

Type: Microsoft.SharePoint.SPLink
The link object at the specified index in the collection.

See Also

Reference

SPLinkCollection Class

SPLinkCollection Members

Microsoft.SharePoint Namespace