Share via


SPViewFieldCollection.Item Property

Gets the internal name of the view field 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 String
    Get
'Usage
Dim instance As SPViewFieldCollection
Dim iIndex As Integer
Dim value As String

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

Parameters

  • iIndex
    Type: System.Int32

    A 32-bit integer that specifies the index.

Property Value

Type: System.String
A string that contains the internal name.

Remarks

In C#, this property is the indexer for the SPViewFieldCollection class.

See Also

Reference

SPViewFieldCollection Class

SPViewFieldCollection Members

Microsoft.SharePoint Namespace