Microsoft.SharePoint


SPItem Class (Microsoft.SharePoint)
Abstract base class that constitutes the data transport item upon which forms operate.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<DefaultMemberAttribute("Item")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public MustInherit Class SPItem
Visual Basic (Usage)
Dim instance As SPItem
C#
[DefaultMemberAttribute("Item")] 
[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).

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPItem
     Microsoft.SharePoint.SPListItem
     Microsoft.SharePoint.SPSimpleItem
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

Tags :


Page view tracker