Condividi tramite


ListItem.ParentList Property

Gets the parent list that contains the list item.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ParentList As List
    Get
'Usage
Dim instance As ListItem
Dim value As List

value = instance.ParentList
[RemoteAttribute]
public List ParentList { get; }

Property Value

Type: Microsoft.SharePoint.Client.List
Returns a List.instance representing the parent list that contains the list item.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See Also

Reference

ListItem Class

ListItem Members

Microsoft.SharePoint.Client Namespace