Method SetPrivateField
| Edit this page View SourceSetPrivateField(object, string, object)
Set a value of a private field of any class instance
Declaration
public static void SetPrivateField(object instance, string name, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| object | instance | Instance of the class |
| string | name | Name of the field |
| object | value | New value of the field |