SPListItem properties

The SPListItem type exposes the following members.

Properties

  Name Description
Public property AllRolesForCurrentUser Gets a full list of role definitions on the object to which the current user belongs on this scope. (Inherited from SPSecurableObject.)
Public property Attachments Gets the collection of attachments that are associated with the item.
Public property Audit Gets the audit log that is associated with the item.
Public property BackwardLinks Returns the collection of links to the item.
Public property ClientFormItemData Gets a dictionary containing item properties used in CSR forms. (Overrides SPItem.ClientFormItemData.)
Public property ContentType Gets the content type that is associated with the item.
Public property ContentTypeId Gets the identifier of the content type that is associated with this item.
Public property CopyDestinations Gets a list of URLs to which the item can be copied through the SharePoint Foundation user interface.
Public property CopyFieldMask Gets a field mask for a copied item.
Public property CopySource Gets the URL of the source item from which this item was copied, if the item results from a copy operation.
Public property DisplayName Gets the display name of the item.
Public property EffectiveBasePermissions Gets the current user’s effective base permissions on the item, including group membership and policies. (Overrides SPItem.EffectiveBasePermissions.)
Public property EffectiveBasePermissionsForUI Gets the effective base permissions for the current user, as they should be displayed in UI.
Public property Fields Gets or sets the collection of all fields in the parent of the item. (Overrides SPItem.Fields.)
Public property File Gets the file that is represented by the item from a document library.
Public property FileSystemObjectType Gets or sets the file system object type for the item.
Public property FirstUniqueAncestor Obsolete. Use the FirstUniqueAncestorSecurableObject property instead. (Inherited from SPSecurableObject.)
Public property FirstUniqueAncestorSecurableObject Retrieves the first unique ancestor if it has unique role assignments otherwise returns the first parent object (folder, list, or Web site) that has unique role assignments. (Overrides SPItem.FirstUniqueAncestorSecurableObject.)
Public property Folder Gets a folder object that is associated with a folder item.
Public property ForwardLinks Gets a collection of hyperlinks that are associated with the item; for example, the hyperlinks in a URL field or rich text field.
Public property HasPublishedVersion Gets a Boolean value that specifies whether a published version of the item exists.
Public property HasUniqueRoleAssignments Gets a Boolean value that specifies whether the item has unique security or inherits its role assignments from a parent object. (Overrides SPSecurableObject.HasUniqueRoleAssignments.)
Public property IconOverlay Gets or sets the URL to an overlay icon for this item.
Public property ID Gets the integer that identifies the item. (Overrides SPItem.ID.)
Public property Item[Guid] Gets or sets the value that is contained by the field identified by the specified GUID.
Public property Item[Int32] Gets or sets the value that is contained by the field at the specified index in the field collection of the parent list. (Overrides SPItem.Item[Int32].)
Public property Item[String] Gets or sets a field value in the item based on the field’s title, internal name, or static name. (Overrides SPItem.Item[String].)
Public property Level Gets the level of publication for the item.
Public property ListItems Gets the parent collection of list item objects to which the item belongs.
Public property MissingRequiredFields Gets a Boolean value that specifies whether required fields are missing from the item's properties.
Public property ModerationInformation Gets Content Approval information for the item, including the status and comment.
Public property Name Gets the name of the item.
Public property ParentList Gets the list that includes the list item.
Public property ProgId The Program identifier for this item.
Public property Properties Gets metadata for the item.
Public property RecurrenceID Returns the identifier (ID) of an instance of a recurrent item.
Public property ReusableAcl Gets an opaque object that represents the raw access control list (ACL) information for the item. (Overrides SPItem.ReusableAcl.)
Public property RoleAssignments Gets the role assignments for this securable object. (Inherited from SPSecurableObject.)
Public property ServerRedirected Gets a Boolean value that indicates whether users who do not have access to view the item, or who do not have the appropriate client application installed, are redirected to server-side rendering of the item when they click a link to view it.
Public property ServerRedirectedPreviewUrl Gets the URL for the thumbnail of a document in the browser, if that feature exists.
Public property SortType Gets or sets the type of this item when sorting within a view.
Public property Tasks Gets the collection of workflow tasks for the item.
Public property Title Gets the title of the item.
Public property UniqueId Gets the GUID that uniquely identifies the item for the internal database.
Public property Url Gets the site-relative URL of the item.
Public property Versions Gets the collection of item version objects that represent the versions of the item.
Public property Web Gets the Web site that is associated with the list item.
Public property Workflows Gets the collection of the workflow objects that represent instances of the item workflows that are currently running, but does not get the workflow associations.
Public property Xml Gets the data that is contained in the list item in XMLDATA format.

Top

See also

Reference

SPListItem class

Microsoft.SharePoint namespace