/
SetMultiValueProperty Method
SetMultiValueProperty Method
Sets the value of a multi-value process property.
public void SetMultiValueProperty(string name, IEnumerable<string> values);
Classes: Properties
Parameters
string name
Name of the property to set.
IEnumerable<string> value
Value(s) to set to the property.
Example
The following example demonstrates setting the values of a multi value property.
var values = new List<string>(); values.Add("one"); values.Add("two"); values.Add("three"); Process.Properties.SetMultiValueProperty("MV", values);
Remarks
If no property can be found by the parameter "name", an InvalidOperationException will be thrown.
This method will execute successfully on property regardless if it is backed by a multi value field in the field catalog.
, multiple selections available,
Related content
GetMultiValue Method
GetMultiValue Method
More like this
SetSingleProperty Method
SetSingleProperty Method
More like this
SetTableFieldProperty Method
SetTableFieldProperty Method
More like this
SaveProperty Method
SaveProperty Method
More like this
GetSingleValue Method
GetSingleValue Method
More like this
GetTableFieldValues Method
GetTableFieldValues Method
More like this