共用方式為


SPFolder.Files property

取得資料夾所含全部檔案的集合。

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

Syntax

'宣告
Public ReadOnly Property Files As SPFileCollection
    Get
'用途
Dim instance As SPFolder
Dim value As SPFileCollection

value = instance.Files
public SPFileCollection Files { get; }

Property value

Type: Microsoft.SharePoint.SPFileCollection
SPFileCollection 物件,表示檔案。

請參閱

參照

SPFolder class

SPFolder members

Microsoft.SharePoint namespace