开发者

Identify "Forms" folder in a Sharepoint document library

I'm working on an application that shows a listing of files and folders within a Sharepoint document library. The file/folder list is created based on the SPList's RootFolder.Su开发者_Go百科bFolders and .Files collections.

Is there a way to filter out the "Forms" folder from the results, without hard-coding a check for a folder called forms?


You could check if the folder does not have an associated list item, i.e. if SPFolder.Item is null. Otherwise, hard-coding the name "Forms" should be ok as this does not change across different language versions of SharePoint.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜