Encapsulates a method that has one parameter and returns a value of the type specified by the TResult parameter.
Namespace: GroupDocs.Metadata.CommonAssembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.8
Syntaxpublic delegate TResult Func<in T, out TResult>(
T arg
)
Public Delegate Function Func(Of In T, Out TResult) (
arg As T
) As TResult
generic<typename T, typename TResult>
public delegate TResult Func(
T arg
)
type Func =
delegate of
arg : 'T -> 'TResult
Parameters
- arg
- Type: T
The parameter of the method that this delegate encapsulates.
Type Parameters
- T
- 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
Type:
TResultThe return value of the method that this delegate encapsulates.
See Also