IActionSetAttribute Method (String, String) Ingeniux CMS Content Store API

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: 9.0.565.0 (9.0.565)
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

Reference