Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GField Class / OnGetValue Method
Advice arguments.

OnGetValue Method
Method invoked instead of the Get semantic of the field or property to which the current aspect is applied, i.e. when the value of this field or property is retrieved.
Syntax
'Declaration
 
<PostSharp.Extensibility.HasInheritedAttributeAttribute()>
<PostSharp.Aspects.Internals.LocationInterceptionAdviceOptimizationAttribute(LocationInterceptionAdviceOptimizations.IgnoreAdvice)>
<PostSharp.Aspects.Internals.RequiresLocationInterceptionAdviceAnalysisAttribute()>
Public Overridable Sub OnGetValue( _
   ByVal args As PostSharp.Aspects.LocationInterceptionArgs _
) 
 

Parameters

args
Advice arguments.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also