Condividi tramite


SPMobileComponent.List Property

Gets or sets the list that is rendered when SPMobileComponent represents a list.

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

Syntax

'Declaration
Public Overridable Property List As SPList
    Get
    Set
'Usage
Dim instance As SPMobileComponent
Dim value As SPList

value = instance.List

instance.List = value
public virtual SPList List { get; set; }

Property Value

Type: Microsoft.SharePoint.SPList
An SPList object that represents the list.

Remarks

In the default implementation, when SPMobileComponent represents a field or some other entity that is not a list, List is the current list. If there is no current list, List is the value of the List property of the parent control.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace