| 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# | |
|---|---|
public void AddAction<TNewArgs>( PropertyInterceptorAction<TNewArgs> interceptorAction ) where TNewArgs: PropertyInterceptorArgs | |
| C++/CLI | |
|---|---|
public: void AddActiongeneric<typename TNewArgs> ( PropertyInterceptorAction<TNewArgs^>^ interceptorAction ) where TNewArgs: PropertyInterceptorArgs | |
Parameters
- interceptorAction
Type Parameters
- TNewArgs
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.
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