Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
If the specified field already exists in the collection, this method sets the value to the first field with the specified name and removes the rest.
To append the new value to the existing list of fields, use the Add method.
To update a single field value use the overloaded version of the Set method.
If the specified field does not exist in the collection, this method creates a new entry using the specified field name and the specified value.
When schema bound, you cannot add a new field.
[This is preliminary documentation and is subject to change.]
Sets the value of an entry in the EPT field collection.
Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- name
- Type: SystemString
The field to set value for - value
- Type: SystemString
The new value to set.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The name cannot be null |
InvalidOperationException | Cannot update field %name%. The field does not exists in the EPT schema. |
Remarks
See Also