共用方式為


SPFieldLinkCollection.Item property (Int32)

從集合中取得指定的SPFieldLink物件藉由使用其索引編號。

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

Syntax

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

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

參數

  • index
    Type: System.Int32

    集合中的欄位參考的索引。

Property value

Type: Microsoft.SharePoint.SPFieldLink
SPFieldLink物件。

備註

如果找不到指定的物件,索引子會傳回a null reference (Nothing in Visual Basic)。

請參閱

參照

SPFieldLinkCollection class

SPFieldLinkCollection members

Item overload

Microsoft.SharePoint namespace

SPFieldLink

SPContentType

其他資源

Fields and Field References

Introduction to Columns