共用方式為


SPLinkCollection.Item property

取得集合中指定之索引處的連結物件。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPLink
    Get
'用途
Dim instance As SPLinkCollection
Dim index As Integer
Dim value As SPLink

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

參數

  • index
    Type: System.Int32

    若要取得連結的以零起始的索引。

Property value

Type: Microsoft.SharePoint.SPLink
位於指定之索引集合中的連結物件。

請參閱

參照

SPLinkCollection class

SPLinkCollection members

Microsoft.SharePoint namespace