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

ListExtensions.GetDefaultColumnValues Method

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

Gets default values for column values.

The returned list contains one dictionary per default setting per folder.

Each dictionary has the following keys set: Path, Field, Value

Path: Relative path to the library/folder

Field: Internal name of the field which has a default value

Value: The default value for the field

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

Syntax

public static List<Dictionary<String, String>> GetDefaultColumnValues(this List list)

Parameters

list

  Type: Microsoft.SharePoint.Client.List
  List to process

Return Value

Type: List<Dictionary<String, String>>

See also

© 2018 Microsoft