TNewArgs
IdeaBlade DevForce 2010 Help Reference
AddAction<TNewArgs>(PropertyInterceptorAction<TNewArgs>) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > PropertyInterceptor<TInstance,TValue,TArgs> Class > AddAction Method : AddAction<TNewArgs>(PropertyInterceptorAction<TNewArgs>) Method



interceptorAction
Adds an action to the interceptor.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AddAction(Of TNewArgs As PropertyInterceptorArgs)( _
   ByVal interceptorAction As PropertyInterceptorAction(Of TNewArgs) _
) 
Visual Basic (Usage)Copy Code
Dim instance As PropertyInterceptor(Of TInstance,TValue,TArgs)
Dim interceptorAction As PropertyInterceptorAction(Of TNewArgs)
 
instance.AddAction(Of TNewArgs)(interceptorAction)
C++/CLI 
public:
void AddActiongeneric<typename TNewArgs>
( 
   PropertyInterceptorAction<TNewArgs^>^ interceptorAction
) 
where TNewArgs: PropertyInterceptorArgs

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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.