GetValue(ref object, Arguments)
Invokes the Get semantic on the next node in the chain of invocation.
Declaration
object GetValue(ref object instance, Arguments index)Parameters
| Type | Name | Description |
|---|---|---|
| object | instance | Target instance from which the field or property should be retrieved ( |
| Arguments | index | Index arguments, if the location is an indexer property. |
Returns
| Type | Description |
|---|---|
| object | The value stored at the location. |
Remarks
<p>
The
instance
parameter is passed by reference so that instance methods of value types (
struct
in C#) are allowed to change the value of the instance.