SyncronizedEPTDocumentAdd Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Adds an entry with the specified name and value to the EPT field collection

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public override void Add(
	string name,
	string value
)

Parameters

name
Type: SystemString
The field of the entry to add. The name cannot be null.
value
Type: SystemString
The value to add. The value can be null
Exceptions

ExceptionCondition
ArgumentNullExceptionThe parameter name cannot be null.
InvalidOperationException Occurs only if schema bound is on
Cannot add "%fieldName%". The field does not exists in the EPT schema.
See Also

Reference