[]
Sets the specified property on the given object using reflection.
public static void SetProperty(object obj, string propertyName, object val)
| Type | Name | Description |
|---|---|---|
| object | obj | The object on which to set the property. |
| string | propertyName | The name of the property to set. |
| object | val | The value to assign to the property. |