共用方式為


SPWorkItemCollection.ParentList property

取得SPList物件,表示SPWorkItemCollection集合中物件的父清單。

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

Syntax

'宣告
Public ReadOnly Property ParentList As SPList
    Get
'用途
Dim instance As SPWorkItemCollection
Dim value As SPList

value = instance.ParentList
public SPList ParentList { get; }

Property value

Type: Microsoft.SharePoint.SPList
傳回SPList物件,該是SPWorkItemCollection集合的父代的物件。

請參閱

參照

SPWorkItemCollection class

SPWorkItemCollection members

Microsoft.SharePoint namespace

Microsoft.SharePoint.SPList