Table of contents
TOC
Collapse the table of content
Expand the table of content

FileFolderExtensions.DoesFolderExists Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Checks if a specific folder exists

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static bool DoesFolderExists(this Web web, String serverRelativeFolderUrl)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  The web to process

serverRelativeFolderUrl

  Type: System.String
  Folder to check

Return Value

Type: bool
Returns true if folder exists

See also

© 2018 Microsoft