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)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    iIndex As Integer _
) As String
    Get
'Usage
Dim instance As SPViewFieldCollection
Dim iIndex As Integer
Dim value As String

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