Partilhar via


SPFieldMultiColumnValue.Item Property

Gets or sets the value of a "column" at the specified index.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property Item ( _
    index As Integer _
) As String
    Get
    Set
'Usage
Dim instance As SPFieldMultiColumnValue
Dim index As Integer
Dim value As String

value = instance.Item(index)

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

Parameters

  • index
    Type: System.Int32

    The index in relation to the "columns".

Property Value

Type: System.String

See Also

Reference

SPFieldMultiColumnValue Class

SPFieldMultiColumnValue Members

Microsoft.SharePoint Namespace