Method GetValue
GetValue(Object)
Returns the value of the field or property represented by the current object.
Declaration
public object GetValue(object instance)
Parameters
Type | Name | Description |
---|---|---|
Object | instance | The object whose field or property value will be returned ( |
Returns
Type | Description |
---|---|
Object | The value of the field or property. |
GetValue(Object, Object[])
Returns the value of the field or property represented by the current object with optional index values for indexed properties.
Declaration
public object GetValue(object instance, object[] index)
Parameters
Type | Name | Description |
---|---|---|
Object | instance | The object whose field or property value will be returned ( |
Object[] | index | Optional index values for indexed properties. |
Returns
Type | Description |
---|---|
Object | The value of the field or property. |