public Span<T> GetValueOrElse(
SpanFunc<T> defaultValueFunc
)Public Function GetValueOrElse (
defaultValueFunc As SpanFunc(Of T)
) As Span(Of T)
Dim instance As NullableSpan
Dim defaultValueFunc As SpanFunc(Of T)
Dim returnValue As Span(Of T)
returnValue = instance.GetValueOrElse(defaultValueFunc)public:
Span<T> GetValueOrElse(
SpanFunc<T>^ defaultValueFunc
)The function defaultValueFunc is only called if the HasValue property is .