Share via


SPFieldLinkCollection.Item Property (Int32)

Gets the specified SPFieldLink object from the collection by using its index number.

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 SPFieldLink
    Get
'Usage
Dim instance As SPFieldLinkCollection
Dim index As Integer
Dim value As SPFieldLink

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

Parameters

  • index
    Type: System.Int32

    The index of the field reference within the collection.

Property Value

Type: Microsoft.SharePoint.SPFieldLink
An SPFieldLink object.

Remarks

If the specified object is not found, the indexer returns a null reference (Nothing in Visual Basic).

See Also

Reference

SPFieldLinkCollection Class

SPFieldLinkCollection Members

Item Overload

Microsoft.SharePoint Namespace

SPFieldLink

SPContentType

Other Resources

Fields and Field References

Introduction to Columns