Func<(Of <(<'TResult>)>)> Delegate
Encapsulates a method that has no parameters and returns a value of the type specified by the TResult parameter.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[NameAttribute] [IgnoreGenericAttribute] [IgnoreCastAttribute] [ExternalAttribute] public delegate TResult Func<TResult>()
<NameAttribute> _ <IgnoreGenericAttribute> _ <IgnoreCastAttribute> _ <ExternalAttribute> _ Public Delegate Function Func(Of TResult) As TResult
[NameAttribute] [IgnoreGenericAttribute] [IgnoreCastAttribute] [ExternalAttribute] generic<typename TResult> public delegate TResult Func()
Type Parameters
- TResult
- The type of the return value of the method that this delegate encapsulates.This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.