PostSharp//API Reference/Post­Sharp.​Aspects/ILocation­Binding/Get­Value
Open sandboxFocus

Method GetValue

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 (null if the field or property is static).

Arguments index

Index arguments, if the location is an indexer property.

Returns
Type Description
Object

The value stored at the location.