LocationInfo.SetValue Method (Object, Object) |
Sets the value of the field or property represented by the current object to a given value.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public void SetValue( Object instance, Object value )
Parameters
- instance
- Type: System.Object
The object whose field or property value will be changed (null if the field or property is static). - value
- Type: System.Object
New value.