Condividi tramite


SPRelatedFieldCollection.Item Property

Gets the SPRelatedField object at the specified index in the collection.

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

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