Export (0) Print
Expand All

SPListItem Members

Windows SharePoint Services 3

Represents an item or row in a list.

The SPListItem type exposes the following members.

  NameDescription
Public property AllRolesForCurrentUser Gets the current user's role definitions for the item.
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 ContentType Gets the content type that is associated with the item.
Public property CopyDestinations Gets a list of URLs to which the item can be copied through the Windows SharePoint Services 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.
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 Returns the item itself if it has unique role assignments; otherwise, returns the first parent object (folder, list, or Web site) that has unique role assignments.
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.
Public property ID Gets the integer that identifies the item. (Overrides SPItem.ID.)
Public property Item[Guid] Gets or sets a field value in the item based on the specified GUID.
Public property Item[Int32] Gets or sets the value that is contained by the field at the specified index in the item. (Overrides SPItem.Item[Int32].)
Public property Item[String] Gets or sets a field value in the item based on the specified field display 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 parent list of the list 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.
Public property RoleAssignments Gets the collection of role assignments for the list item.
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 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

  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

  NameDescription
Protected field m_Fields Stores the field objects associated with the item. (Inherited from SPItem.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft