LocationInfo.SetValue Method (Object, Object, Object[]) |
Sets the value of the field or property represented by the current object to a given value
with optional index values for indexed properties.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public void SetValue( Object instance, Object value, Object[] index )
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. - index
- Type: System.Object[]
Optional index values for indexed properties. null for fields or non-index properties.