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

WebExtensions.GetPropertyBagValueInt Method

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

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

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

Syntax

public static Nullable<Int32> GetPropertyBagValueInt(this Web web, String key, Int32 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.Int32
   Get int typed property bag value. If does not contain, returns default value.

Return Value

Type: Nullable
Value of the property bag entry as integer

See also

© 2018 Microsoft