Condividi tramite


SPItem Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPSecurableObject
    Microsoft.SharePoint.SPItem
      Microsoft.SharePoint.SPListItem
      Microsoft.SharePoint.SPSimpleItem

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public MustInherit Class SPItem _
    Inherits SPSecurableObject
'Usage
Dim instance As SPItem
[SubsetCallableTypeAttribute]
public abstract class SPItem : SPSecurableObject

Remarks

The SPItem class provides direct access to a list item as the data backing a store, such as for site provisioning or workflow, allowing the list-based forms infrastructure to be extended so that it can be reused in capacities other than working with list items. The forms infrastructure fundamentally operates against one set of data (a list item) and one set of metadata (a list field collection).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPItem Members

Microsoft.SharePoint Namespace