Share via


SPRelatedFieldCollection.Item property

Gets the SPRelatedField 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 ( _
    iIndex As Integer _
) As SPRelatedField
    Get
'Usage
Dim instance As SPRelatedFieldCollection
Dim iIndex As Integer
Dim value As SPRelatedField

value = instance(iIndex)
public SPRelatedField this[
    int iIndex
] { get; }

Parameters

  • iIndex
    Type: System.Int32

    The index of the object within the collection.

Property value

Type: Microsoft.SharePoint.SPRelatedField
SPRelatedField

See also

Reference

SPRelatedFieldCollection class

SPRelatedFieldCollection members

Microsoft.SharePoint namespace