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)

Syntax

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

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