Click or drag to resize
DataRecordContainerSetValue Method
Sets the value of a column identified by its name, if the column exists within this record container.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public bool SetValue(
	string columnName,
	Object value
)

Parameters

columnName
Type: SystemString
Name of column whose value to set.
value
Type: SystemObject
The value to be set.

Return Value

Type: Boolean
Returns true if the columnName was set, returns false if columnName does not exist within the record container.

Implements

ISimpleDataContainerSetValue(String, Object)
Remarks
The DataRecordContainer does not support setting of column values. Calling this method always throws NotSupportedException.
See Also