Table of Contents

Interface IPropertyValues

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Public interface to define a PropertyValues object

public interface IPropertyValues : IDataModel<IPropertyValues>, IDataModelParent, IDataModelWithContext, ISupportModules<IPropertyValues>, IExpandoDataModel
Inherited Members
Extension Methods

Methods

GetBoolean(string, bool)

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

bool GetBoolean(string key, bool defaultValue)

Parameters

key string

Key of the property bag entry to return

defaultValue bool

Default value of the property bag

Returns

bool

Value of the property bag entry as boolean

GetInteger(string, int)

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

int GetInteger(string key, int defaultValue)

Parameters

key string

Key of the property bag entry to return

defaultValue int

Default value of the property bag

Returns

int

Value of the property bag entry as int

GetString(string, string)

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

string GetString(string key, string defaultValue)

Parameters

key string

Key of the property bag entry to return

defaultValue string

Default value of the property bag

Returns

string

Value of the property bag entry as string

Update()

Update the property bag

void Update()

UpdateAsync()

Update the property bag

Task UpdateAsync()

Returns

Task