Encapsulates a method that has one parameter and returns a value of the type specified by the TResult parameter.
'Declaration
Public Delegate Function ImGearFunc
(Of ,)( _
ByVal As _
) As
'Usage
Dim instance As New ImGearFunc(Of TParam,TResult)(AddressOf HandlerMethod)
public delegate ImGearFunc<,>(
)
public: __gc __delegate ImGearFunc<,>(
)
generic<typename >
generic<typename >
public delegate ImGearFunc(
)
Parameters
- p
- The parameter of the method that this delegate encapsulates.
Type Parameters
- TParam
- The type of the parameter of the method that this delegate encapsulates.
- TResult
- The type of the return value of the method that this delegate encapsulates.
Return Value
The return value of the method that this delegate encapsulates.