EPTXmlEditableParserSet 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)
Syntax

public virtual void Set(
	string name,
	string value
)

Parameters

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

ExceptionCondition
ArgumentNullExceptionEither the name or value is null
ArgumentOutOfRangeExceptionThe name is Empty.
Remarks

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

Reference