共用方式為


SPMobileComponent.ListItem 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 ListItem As SPListItem
    Get
    Set
'Usage
Dim instance As SPMobileComponent
Dim value As SPListItem

value = instance.ListItem

instance.ListItem = value
public virtual SPListItem ListItem { get; set; }

Property Value

Type: Microsoft.SharePoint.SPListItem
An SPListItem object that represents the list item.

Remarks

In the default implementation, this property simply gets and sets the Item property.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace