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

ListExtensions.GetPropertyBagValueString Method

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

Get string typed property bag value. If does not contain, returns given default value.

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

Syntax

public static string GetPropertyBagValueString(this List list, String key, String defaultValue)

Parameters

list

  Type: Microsoft.SharePoint.Client.List
  List to read the property bag value from

key

  Type: System.String
  Key of the property bag entry to return

defaultValue

  Type: System.String
  Default value of the property bag

Return Value

Type: string
Value of the property bag entry as string

See also

© 2018 Microsoft