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

ListExtensions.GetListID Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Returns the GUID id of a list

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

Syntax

public static Guid GetListID(this Web web, String listName)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

listName

  Type: System.String
  List to operate on

Return Value

Type: Guid

See also

© 2018 Microsoft