Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels