/
GetMultiValue Method

GetMultiValue Method

Gets the values of a multi-value process property.

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".

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.

Related content

SetMultiValueProperty Method
SetMultiValueProperty Method
More like this
GetSingleValue Method
GetSingleValue Method
More like this
GetPropertyByName Method
GetPropertyByName Method
More like this
SetSingleProperty Method
SetSingleProperty Method
More like this
GetProcessesByProperty Method
GetProcessesByProperty Method
More like this
GetPropertyNames Method
GetPropertyNames Method
More like this