Поделиться через


SPItem Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPItem

Dim instance As SPItem
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPItem

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