Click or drag to resize

DocumentItemSetFieldData Method (IChoiceFieldItem, String, Char, Boolean)

Allow to set values for choice and multi choice field

Namespace:  Compiled.EDD.Scripting
Assembly:  Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 7.6.1.3-5cb5c356
Syntax
C#
public void SetFieldData(
	IChoiceFieldItem choiceFieldItem,
	string value,
	char delimiter,
	bool addIfMissingValue = false
)

Parameters

choiceFieldItem
Type: Compiled.EDD.ScriptingIChoiceFieldItem
AsChoiceFieldItem
value
Type: SystemString
String with delimited values
delimiter
Type: SystemChar
Values delimiter
addIfMissingValue (Optional)
Type: SystemBoolean
If true missing values are added to choice field
See Also