Share via


SP.ListItem Properties

Applies to: SharePoint Foundation 2010

The following table lists the properties of the SP.ListItem class.

Properties

Name

Description

contentType

Gets a value that specifies the content type of the list item.

displayName

Gets a value that specifies the display name of the list item.

effectiveBasePermissions

Gets a value that specifies the effective permissions on the list item that are assigned to the current user.

fieldValues

Gets a collection of key/value pairs containing the names and values for the fields of the list item.

fieldValuesAsHtml

Gets the values for the list item as HTML.

fieldValuesAsText

Gets the list item’s field values as a collection of string values.

fieldValuesForEdit

Gets the formatted values to be displayed in an edit form.

file

Gets the file that is represented by the item from a document library.

fileSystemObjectType

Gets a value that specifies whether the list item is a file or a list folder.

id

Gets a value that specifies the list item identifier.

item

Gets or sets the specified field value.

parentList

Gets the parent list that contains the list item.

Applies To

SP.ListItem Class

See Also

Reference

SP.ListItem Methods

SP Namespace