  | TryCastWorkerTValueReturningTResult(TResult) Method | 
            Adds a return value to the fluent chain.
            
Namespace: TomsToolbox.DesktopAssembly: TomsToolbox.Desktop (in TomsToolbox.Desktop.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic TryCastWorker<TValue, TResult> Returning<TResult>(
	TResult defaultValue
)
Public Function Returning(Of TResult) ( 
	defaultValue As TResult
) As TryCastWorker(Of TValue, TResult)
Parameters
- defaultValue  TResult
 - The default value of the result if no cast succeeds.
 
Type Parameters
- TResult
 - The type of the result.
 
Return Value
TryCastWorkerTValue, 
TResult
            The 
TryCastWorkerTValue, TResult object.
            
See Also