Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Location­Interception­Args Class / Location­Interception­Args Properties / Location­Interception­Args.​Value Property

LocationInterceptionArgs.Value Property

Gets or sets the location value.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.5.0 (6.1.5.0)
Syntax
C#
public abstract Object Value { get; set; }

Property Value

Type: Object

Implements

ILocationInterceptionArgs.Value
Remarks

Inside an OnGetValue(LocationInterceptionArgs) advice, this property is available after the next advice in chain has been invoked using ProceedGetValue(). However, inside an OnSetValue(LocationInterceptionArgs) advice, the value is available immediately, and is used as input by ProceedSetValue().

See GetCurrentValue() and SetNewValue(Object) to get or set the value of the location without affecting the value of this property.

See Also