/
SetSingleProperty Method

SetSingleProperty Method

Sets the value of a single value process property.

public void SetSingleProperty(string name, string value);

Classes: Properties


Parameters

string name

Name of the property to set.

string value

Value to set to the property.


Example

The following example demonstrates setting a property value.

Process.Properties.SetSingleProperty("Name", "John");

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 single value field in the field catalog. 

Related content

SetMultiValueProperty Method
SetMultiValueProperty Method
More like this
SaveProperty Method
SaveProperty Method
More like this
GetSingleValue Method
GetSingleValue Method
More like this
SetTableFieldProperty Method
SetTableFieldProperty Method
More like this
SetStatus Method
SetStatus Method
More like this
GetPropertyByName Method
GetPropertyByName Method
More like this