Export (0) Print
Expand All

SPListItem methods

The SPListItem type exposes the following members.

  Name Description
Public method BreakRoleInheritance(Boolean) Creates unique role assignments for the object and optionally copies role assignments from the parent. (Inherited from SPSecurableObject.)
Public method BreakRoleInheritance(Boolean, Boolean) Creates unique role assignments for the list item, optionally copies role assignments from the parent, and optionally clears unique role assignments from descendants. (Overrides SPSecurableObject.BreakRoleInheritance(Boolean, Boolean).)
Public method CheckPermissions Determines whether the current user has a specified set of permissions. (Inherited from SPSecurableObject.)
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) Indicates whether the current user has a specified set of permissions. (Inherited from SPSecurableObject.)
Public method DoesUserHavePermissions(SPUser, SPBasePermissions) Indicates whether the specified user has the specified permissions on an item.
Public method DoesUserHavePermissionsForUI Checks whether the specified user has the specified permissions on 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. (Overrides SPItem.GetUserEffectivePermissionInfo(String).)
Public method GetUserEffectivePermissions Gets the effective permissions that a specified user has on the list item. (Overrides SPItem.GetUserEffectivePermissions(String).)
Public method GetWOPIFrameUrl Gets the full URL to the SharePoint frame page that initiates the SPWOPIActionobject with the WOPI application associated with the list item.
Protected method MemberwiseClone (Inherited from Object.)
Public method Recycle Deletes the item from the content database and returns a globally unique identifier (GUID) for the transaction.
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 so that the list item, and all its descendant objects, re-inherit role assignments from the parent object. (Overrides SPSecurableObject.ResetRoleInheritance().)
Public method SystemUpdate() Updates the database with changes made to the list item without changing the Modified or Modified By fields.
Public method SystemUpdate(Boolean) Updates the database with changes that are made to the list item without changing the Modified 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:
© 2014 Microsoft