SaveProperty Method
Saves a property back to the process.
public void SaveProperty(dynamic property);
Classes:Â Properties
Parameters
dynamic property
Dynamic property object.
Example
The following example demonstrates changing the value of a property returned from the GetPropertyByName method, and then saving it back.
var property = Process.Properties.GetPropertyByName("Name"); property.Value = "John"; Process.Properties.SaveProperty(property);
Remarks
If you have made changes that do not conform to the managed property object, this method will throw a serialization exception.