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)

Syntax

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

value = instance(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