GetSingleValue Method

Gets the value of a single value process property.

public string GetSingleValue(string name);

Classes: Properties


Parameters

string name

Name of the property to get.

Returns

string

Value of the property.


Example

The following example demonstrates getting a value from a single value property named "Address".

var address = Process.Properties.GetSingleValue("Address");

Remarks

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