GetPropertyByName Method

Gets a property object by property name.

public dynamic GetPropertyByName(string name);

Classes: Properties


Parameters

string name

Name of the property to get.

Returns

Type

Dynamic property object.


Example

The following example demonstrates getting a dynamic property object by property name.

var property = Process.Properties.GetPropertyByName("Name");