PostSharp6.0/API Reference/Post­Sharp.​Aspects Namespace/ILocation­Interception­Args Interface/ILocation­Interception­Args Properties/ILocation­Interception­Args.​Value Property

ILocationInterceptionArgs.Value Property

Gets or sets the location value.

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

Property Value

Type: Object
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