Encapsulates a method that has two parameters and does not return a value.
| C# | Visual Basic |
public delegate void Action<T1, T2, T3>( T1 arg1, T2 arg2, T3 arg3 )
Public Delegate Sub Action(Of T1, T2, T3) ( _ arg1 As T1, _ arg2 As T2, _ arg3 As T3 _ )
- T1
- The type of the first parameter of the method that this delegate encapsulates.
- T2
- The type of the second parameter of the method that this delegate encapsulates.
- T3
- The type of the third parameter of the method that this delegate encapsulates.
- arg1 (T1)
- The first parameter of the method that this delegate encapsulates.
- arg2 (T2)
- The second parameter of the method that this delegate encapsulates.
- arg3 (T3)
- The third parameter of the method that this delegate encapsulates.