SPItem Members

Include Protected Members
Include Inherited Members

Abstract base class that constitutes the data transport item upon which forms operate.

The SPItem type exposes the following members.

Constructors

  Name Description
Protected method SPItem Initializes a new instance of the SPItem class.

Top

Properties

  Name Description
Public property AllRolesForCurrentUser Gets a full list of role definitions on the object to which the current user belongs on this scope. (Inherited from SPSecurableObject.)
Public property EffectiveBasePermissions Reserved for future use. (Overrides SPSecurableObject.EffectiveBasePermissions.)
Public property Fields Gets or sets the collection of fields for metadata associated with the item.
Public property FirstUniqueAncestor Obsolete. Use the FirstUniqueAncestorSecurableObject property instead. (Inherited from SPSecurableObject.)
Public property FirstUniqueAncestorSecurableObject Reserved for future use. (Overrides SPSecurableObject.FirstUniqueAncestorSecurableObject.)
Public property HasUniqueRoleAssignments Indicates whether the object has unique role assignments or inherits its role assignments from a parent object. (Inherited from SPSecurableObject.)
Public property ID Gets or sets the ID of the item.
Public property Item[Int32] Gets or sets a field object for the item that has the specified integer index.
Public property Item[String] Gets or sets a field object for the item based on the specified internal name of the field.
Public property ReusableAcl Reserved for future use. (Overrides SPSecurableObject.ReusableAcl.)
Public property RoleAssignments Gets the role assignments for this securable object. (Inherited from SPSecurableObject.)

Top

Methods

  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 object, optionally copies role assignments from the parent, and optionally clears unique role assignments from descendants. (Inherited from SPSecurableObject.)
Public method CheckPermissions Determines whether the current user has a specified set of permissions. (Inherited from SPSecurableObject.)
Public method Delete When overridden in a derived class, deletes the item from its store.
Public method DoesUserHavePermissions Indicates whether the current user has a specified set of permissions. (Inherited from SPSecurableObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetUserEffectivePermissionInfo Reserved for future use. (Overrides SPSecurableObject.GetUserEffectivePermissionInfo(String).)
Public method GetUserEffectivePermissions Reserved for future use. (Overrides SPSecurableObject.GetUserEffectivePermissions(String).)
Protected method MemberwiseClone (Inherited from Object.)
Public method ResetRoleInheritance Removes local role assignments and inherits role assignments from the parent object. (Inherited from SPSecurableObject.)
Public method ToString (Inherited from Object.)
Public method Update When overridden in a derived class, updates the state of the item in the respective store.

Top

Fields

  Name Description
Public fieldStatic member InvalidItemId Specifies an invalid item.
Protected field m_Fields Stores the field objects associated with the item.

Top

See Also

Reference

SPItem Class

Microsoft.SharePoint Namespace