FuncT1, T2, TResult Delegate |
Encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.
Namespace: GroupDocs.Viewer.CommonAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.2
Syntaxpublic delegate TResult Func<in T1, in T2, out TResult>(
T1 arg1,
T2 arg2
)
Public Delegate Function Func(Of In T1, In T2, Out TResult) (
arg1 As T1,
arg2 As T2
) As TResult
generic<typename T1, typename T2, typename TResult>
public delegate TResult Func(
T1 arg1,
T2 arg2
)
type Func =
delegate of
arg1 : 'T1 *
arg2 : 'T2 -> 'TResult
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 first parameters of the method that this delegate encapsulates.
- T2
- The type of the second parameter of the method that this delegate encapsulates.
- TResult
- The type of the return value of the method that this delegate encapsulates.
Return Value
Type:
TResultThe return value of the method that this delegate encapsulates.
See Also