Encapsulates a method that takes two parameters and does not return a value.
Namespace: GroupDocs.Viewer.CommonAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.2
Syntaxpublic delegate void Action<in T1, in T2>(
T1 arg1,
T2 arg2
)
Public Delegate Sub Action(Of In T1, In T2) (
arg1 As T1,
arg2 As T2
)
generic<typename T1, typename T2>
public delegate void Action(
T1 arg1,
T2 arg2
)
type Action =
delegate of
arg1 : 'T1 *
arg2 : 'T2 -> unit
Parameters
- arg1
- Type: T1
The first parameter of the method that this delegate encapsulates. - arg2
- Type: T2
The second parameter of the method that this delegate encapsulates.
Type Parameters
- 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.
See Also