PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / ILocation­Interception­Args Interface / ILocation­Interception­Args Methods / ILocation­Interception­Args.​Proceed­Set­Value Method

ILocationInterceptionArgs.ProceedSetValue Method

Invokes the Set Location Value semantic on the next node in the chain of invocation and stores the value of the Value property into the location.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
void ProceedSetValue()

Note that this method requires the value to be stored in the Value property. If you need to retrieve the current value of the location from a OnSetValue(LocationInterceptionArgs) advice, it is recommended you use the GetCurrentValue() method.

Note Note
This method is designed to be invoked during the execution of the advice. If you need to retrieve or store the value of the location at a different time, it is recommended to use the Binding . Indeed, a binding is stateless, while LocationInterceptionArgs instances may be shared among different aspects.
See Also