SPMobileComponent.Item Property
Gets or sets the current list item (which is the item that is rendered when SPMobileComponent represents a list item).
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Property Item As SPItem
Get
Set
'Usage
Dim instance As SPMobileComponent
Dim value As SPItem
value = instance.Item
instance.Item = value
public virtual SPItem Item { get; set; }
Property Value
Type: Microsoft.SharePoint.SPItem
An SPItem object that represents the list item.
Remarks
In the default implementation, when SPMobileComponent represents a field or some other entity that is not a list item, Item is the current item. If there is no current item, Item is the value of the Item property of the parent control.