SPListItem properties
The SPListItem type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllRolesForCurrentUser | Gets a full list of role definitions on the object to which the current user belongs on this scope. (Inherited from SPSecurableObject.) | |
Attachments | Gets the collection of attachments that are associated with the item. | |
Audit | Gets the audit log that is associated with the item. | |
BackwardLinks | Returns the collection of links to the item. | |
ClientFormItemData | Gets a dictionary containing item properties used in CSR forms. (Overrides SPItem.ClientFormItemData.) | |
ContentType | Gets the content type that is associated with the item. | |
ContentTypeId | Gets the identifier of the content type that is associated with this item. | |
CopyDestinations | Gets a list of URLs to which the item can be copied through the SharePoint Foundation user interface. | |
CopyFieldMask | Gets a field mask for a copied item. | |
CopySource | Gets the URL of the source item from which this item was copied, if the item results from a copy operation. | |
DisplayName | Gets the display name of the item. | |
EffectiveBasePermissions | Gets the current user’s effective base permissions on the item, including group membership and policies. (Overrides SPItem.EffectiveBasePermissions.) | |
EffectiveBasePermissionsForUI | Gets the effective base permissions for the current user, as they should be displayed in UI. | |
Fields | Gets or sets the collection of all fields in the parent of the item. (Overrides SPItem.Fields.) | |
File | Gets the file that is represented by the item from a document library. | |
FileSystemObjectType | Gets or sets the file system object type for the item. | |
FirstUniqueAncestor | Obsolete. Use the FirstUniqueAncestorSecurableObject property instead. (Inherited from SPSecurableObject.) | |
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.) | |
Folder | Gets a folder object that is associated with a folder item. | |
ForwardLinks | Gets a collection of hyperlinks that are associated with the item; for example, the hyperlinks in a URL field or rich text field. | |
HasPublishedVersion | Gets a Boolean value that specifies whether a published version of the item exists. | |
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.) | |
IconOverlay | Gets or sets the URL to an overlay icon for this item. | |
ID | Gets the integer that identifies the item. (Overrides SPItem.ID.) | |
Item[Guid] | Gets or sets the value that is contained by the field identified by the specified GUID. | |
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].) | |
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].) | |
Level | Gets the level of publication for the item. | |
ListItems | Gets the parent collection of list item objects to which the item belongs. | |
MissingRequiredFields | Gets a Boolean value that specifies whether required fields are missing from the item's properties. | |
ModerationInformation | Gets Content Approval information for the item, including the status and comment. | |
Name | Gets the name of the item. | |
ParentList | Gets the list that includes the list item. | |
ProgId | The Program identifier for this item. | |
Properties | Gets metadata for the item. | |
RecurrenceID | Returns the identifier (ID) of an instance of a recurrent item. | |
ReusableAcl | Gets an opaque object that represents the raw access control list (ACL) information for the item. (Overrides SPItem.ReusableAcl.) | |
RoleAssignments | Gets the role assignments for this securable object. (Inherited from SPSecurableObject.) | |
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. | |
ServerRedirectedPreviewUrl | Gets the URL for the thumbnail of a document in the browser, if that feature exists. | |
SortType | Gets or sets the type of this item when sorting within a view. | |
Tasks | Gets the collection of workflow tasks for the item. | |
Title | Gets the title of the item. | |
UniqueId | Gets the GUID that uniquely identifies the item for the internal database. | |
Url | Gets the site-relative URL of the item. | |
Versions | Gets the collection of item version objects that represent the versions of the item. | |
Web | Gets the Web site that is associated with the list item. | |
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. | |
Xml | Gets the data that is contained in the list item in XMLDATA format. |
Top