DevForce Help Reference
AddAction<TNewArgs>(PropertyInterceptorAction<TNewArgs>) Method


Adds an action to the interceptor.
Syntax
'Declaration
 
Public Overloads Sub AddAction(Of TNewArgs As PropertyInterceptorArgs)( _
   ByVal interceptorAction As PropertyInterceptorAction(Of TNewArgs) _
) 
'Usage
 
Dim instance As PropertyInterceptor(Of TInstance,TValue,TArgs)
Dim interceptorAction As PropertyInterceptorAction(Of TNewArgs)
 
instance.AddAction(Of TNewArgs)(interceptorAction)

Parameters

interceptorAction

Type Parameters

TNewArgs
Remarks
For use when the type of arguments to the action differ from ArgsType.

Primarily intended for use within the framework when the action provided is not a true base class of PropertyIntercepterAction<TArgs> but is coerceable into it.

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

Reference

PropertyInterceptor<TInstance,TValue,TArgs> Class
PropertyInterceptor<TInstance,TValue,TArgs> Members
Overload List

Send Feedback