SPListItem Methods

Include Protected Members
Include Inherited Members

The SPListItem type exposes the following members.

Methods

  Name Description
BreakRoleInheritance Creates unique role assignments for the item rather than inheriting them from a parent.
CheckPermissions Determines whether the current user has the specified set of rights, and if not, throws UnauthorizedAccessException.
Copy(String, String) Copies the specified version of the item to the specified destination.
Copy(String, String, Hashtable, []) Copies the specified item and its properties as a stream to the specified destination.
CopyFrom(String) Overwrites the current item with the specified version of the item.
CopyFrom(String, Hashtable, []) Overwrites the current item with the specified version of the item and its properties as a stream.
CopyTo Copies the item to the specified destination.
Delete Deletes the item. (Overrides SPItem.Delete().)
DoesUserHavePermissions(SPBasePermissions) Checks whether the current user has the specified permissions to an item.
DoesUserHavePermissions(SPUser, SPBasePermissions) Checks whether a specified user has the specified permissions to an item.
EnsureWorkflowInformation() Checks the item's workflow information and, if necessary, updates it to ensure that the most current information is used.
EnsureWorkflowInformation(Boolean, Boolean) Checks the item's workflow information and, if necessary, updates it to ensure that the most current information is used.
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetFormattedValue Returns the specified field value, including formatting.
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
GetUserEffectivePermissionInfo Gets detailed information about the effective permissions that a specified user has on the list item and the role assignments related to this user at this scope.
GetUserEffectivePermissions Gets the effective permissions that a specified user has on the list item.
MemberwiseClone (Inherited from Object.)
Recycle Recycles the item and returns the item's GUID.
ReplaceLink Replaces all instances of a specified link in the list item with a new link.
ResetRoleInheritance Removes the local role assignments and reverts to role assignments from the parent object.
SystemUpdate() Updates the database with changes made to the list item, without effecting changes in the Modified or Modified By fields.
SystemUpdate(Boolean) Updates the database with changes that are made to the list item, without effecting changes in the Modified Time or Modified By fields, or optionally, the item version.
ToString (Inherited from Object.)
UnlinkFromCopySource Clears the source item URL if the item results from a copy operation.
Update Updates the database with changes that are made to the list item. (Overrides SPItem.Update().)
UpdateOverwriteVersion Updates the item without creating another version of the item.

Top

See Also

Reference

SPListItem Class

Microsoft.SharePoint Namespace