Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Gets the values of a multi-value process property.


Code Block
public List<string> GetMultiValue(string name);

Classes: Properties


Parameters

string name

Name of the property to get.

Returns

List<string>

Value(s) of the property.


Example

The following example demonstrates getting a value from a multi-value property named "Companies".

Code Block
var companies = Process.Properties.GetMultiValues("Companies");
foreach (var company in companies) 
{
	//
}

Remarks

This method will execute successfully on property regardless if it is backed by a multi-value field in the field catalog. If the target property is not a multi-value field, this method will return an empty list of strings.