Homepage
Site map
RSS
Print
My Powershel scripts
Search site
Powershell scripts for Sharepoint 2010
Menu
Powershell
React
Sharepoint 2013
Sharepoint 2010 general
Sharepoint Administration
Client Object Model
Unit Tests
C#
XSLT
javaScript and jQuery
Common Tasks - Scripts
Links
Error Messages
Css Styles
InfoPath
BPC PowerForms
Nintex Workflow
Powershell
>
Get SPFolder from SPList
Get SPFolder from SPList
30/10/2012 21:40
SPList list = web.Lists.TryGetList(libraryName);
if (list != null)
{
bool approvingEnabled = list.EnableModeration;
try
{
SPFolder folder = list.RootFolder;
SPFileCollection files = folder.Files;
...
Tags
:
spfolder
|
splist
|
list.RootFolder
|
RootFolder
Back
This website was built with Webnode
You can also have an impressive website for free!
Try it out