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

WebExtensions.GetPropertyBagValueString Method

SharePoint Dev Documents|Last Updated: 5/20/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 Web web, String key, String defaultValue)

Parameters

web

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

key

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

defaultValue

  Type: System.String
   Get string typed property bag value. If does not contain, returns given default value.

Return Value

Type: string
Value of the property bag entry as string

See also

© 2018 Microsoft