ProjectData.

Update(string, object, bool) Method

Summary

Will update a specific piece of data it returns false if data doesn't already exist. if you want to override your passed in arguments you must set last param to true
Assembly
Cake.igloo15.Helper.dll
Namespace
Cake.igloo15.Helper
Containing Type
ProjectData

Syntax

public bool Update(string key, object value, bool overrideNonDefaultArgument = false)

Parameters

Name Type Description
key string The key to update
value object The value to update
overrideNonDefaultArgument bool Defaults to false, if true it will override an argument regardless of if its default or not, while false it will only update argument if argument is default value

Return Value

Type Description
bool True if key is updated, False if key is not updated