<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

Methods | DocumentItem.SetFieldData(IChoiceFieldItem, String, Char, Boolean) Method

Allow to set values for choice and multi choice field

Syntax

C# Copy
public void SetFieldData(
	IChoiceFieldItem choiceFieldItem,
	string value,
	char delimiter,
	bool addIfMissingValue = false
)

Parameters
choiceFieldItem    IChoiceFieldItem
           AsChoiceFieldItem()
value    String
           String with delimited values
delimiter    Char
           Values delimiter
addIfMissingValue    Boolean (Optional)
           If true missing values are added to choice field

See Also

Reference
DocumentItem Class
SetFieldData Overload
Compiled.EDD.Scripting Namespace