Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the value of the list item field based on the name of the field.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overrides Property Item ( _
fieldName As String _
) As Object
Get
Set
'Usage
Dim instance As SPSimpleItem
Dim fieldName As String
Dim value As Object
value = instance.Item(fieldName)
instance.Item(fieldName) = value
public override Object this[
string fieldName
] { get; set; }
Parameters
fieldName
Type: System.StringThe name of the associated field.
Property Value
Type: System.Object
The collection item specified by the given field name.