SyncronizedEPTDocumentSet Method (String, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[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)

public override void Set(
	string name,
	string value


Type: SystemString
The field to set value for
Type: SystemString
The new value to set.

ArgumentNullExceptionThe name cannot be null
InvalidOperationExceptionCannot update field %name%. The field does not exists in the EPT schema.

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.
See Also