共用方式為


SPFolder.Item property

取得對應到資料夾的SPListItem物件。

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

Syntax

'宣告
Public ReadOnly Property Item As SPListItem
    Get
'用途
Dim instance As SPFolder
Dim value As SPListItem

value = instance.Item
public SPListItem Item { get; }

Property value

Type: Microsoft.SharePoint.SPListItem
SPListItem 物件對應到資料夾。

請參閱

參照

SPFolder class

SPFolder members

Microsoft.SharePoint namespace