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 Fields Gets or sets the collection of fields for metadata associated with the item.
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.

Top

Methods

  Name Description
Public method Delete Deletes the item from its store.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Update Contains custom code for saving 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