'Declaration
<NotNullAttribute()> Public Function SelectValue(Of TOutput)( _ ByVal valueSelector As Func(Of Object,TOutput) _ ) As ValueResult(Of TOutput)
'Usage
Dim instance As ValueResult Dim valueSelector As Func(Of Object,TOutput) Dim value As ValueResult(Of TOutput) value = instance.SelectValue(Of TOutput)(valueSelector)
[NotNull()] public ValueResult<TOutput> SelectValue<TOutput>( Func<object,TOutput> valueSelector )
[NotNull()] public: ValueResult<TOutput^>^ SelectValuegeneric<typename TOutput> ( Func<Object^,TOutput^>^ valueSelector )
Parameters
- valueSelector
- A transform function to apply to the value.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Type Parameters
- TOutput
- The type of the value returned by valueSelector.
Return Value
This method never returns null
(Nothing
in Visual Basic).