Click or drag to resize

IActionSetAttribute Method (String, String)


Sets the value of an Attribute. If Attribute doesn't exist, will create a new one with the given name.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IAttribute SetAttribute(
	string name,
	string newVal
)

Parameters

name
Type: SystemString
Attribute name
newVal
Type: SystemString
Attribute new value

Return Value

Type: IAttribute
The Attribute that was created or updated
See Also