SPListItem Members
Windows SharePoint Services 3
Represents an item or row in a list.
The following tables list the members exposed by the SPListItem type.
(see also
Protected Fields
)
Top
| Name | Description | |
|---|---|---|
| InvalidItemId | Specifies an invalid item.(inherited from SPItem) |
| Name | Description | |
|---|---|---|
| AllRolesForCurrentUser | Gets the current user's role definitions for the item. |
| 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. |
| ContentType | Gets the content type that is associated with the item. |
| CopyDestinations | Gets a list of URLs to which the item can be copied through the Windows SharePoint Services 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. |
| Fields | Overridden. Gets or sets the collection of all fields in the parent of the item. |
| 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 | 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. |
| 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. |
| ID | Overridden. Gets the integer that identifies the item. |
| Item | Overloaded. Gets or sets the value that is contained by the specified field. |
| 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 parent list of the list 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. |
| RoleAssignments | Gets the collection of role assignments for the list item. |
| 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. |
| 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. |
(see also
Protected Methods
)
Top
| 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 | Overloaded. Copies an item. |
| CopyFrom | Overloaded. Overwrites the current item. |
| CopyTo | Copies the item to the specified destination. |
| Delete | Overridden. Deletes the item. |
| DoesUserHavePermissions | Overloaded. Checks whether the user has the specified permissions to an item. |
| EnsureWorkflowInformation | Overloaded. Checks the item's workflow information and, if necessary, updates it to ensure that the most current information is used. |
| Equals | Overloaded. (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. |
| Recycle | Recycles the item and returns the item's GUID. |
| ReferenceEquals | (inherited from Object) |
| 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 | Overloaded. Updates the database with changes that are made to the list item, without effecting changes in the Modified Time or Modified By fields. |
| ToString | (inherited from Object) |
| UnlinkFromCopySource | Clears the source item URL if the item results from a copy operation. |
| Update | Overridden. Updates the database with changes that are made to the list item. |
| UpdateOverwriteVersion | Updates the item without creating another version of the item. |