Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Check if folder exists in ListItemCollection using "csom" c#

$
0
0

ListItemCollection items = web.Lists.GetByTitle(library).GetItems(query);
                    context.Load(items);
                    context.ExecuteQuery();

now "items"  has N no of folders in it 

is it possible to check whether folder with the name "ABCD" exists in items or not without using foreach or any other loops.

                   

Ranjith


Viewing all articles
Browse latest Browse all 11508

Trending Articles