This documentation is archived and is not being maintained.

SPListItem Methods

Windows SharePoint Services 3

The SPListItem type exposes the following members.

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