Represents the properties of a process, containing methods for getting and setting property values.
public class Properties
Example
The following example demonstrates getting and setting property values using the Properties class.
var firstName = Process.Properties.GetSingleValue("First Name"); var lastName = Process.Properties.GetSingleValue("Last Name"); var fullName = firstName + " " + lastName; Process.Properties.SetSingleProperty("Full Name", fullName);
Methods
-
GetPropertyByName Method — Gets a property object by property name.
-
GetPropertyNames Method — Gets a list of of property names on the current process.
-
GetSingleValue Method — Gets the value of a single value process property.
-
SetMultiValueProperty Method — Sets the value of a multi-value process property.
-
SetSingleProperty Method — Sets the value of a single value process property.
-
SetTableFieldProperty Method — Sets the value of a table field process property.