NullableReadOnlySpanPairTFirst, TSecondTryGetValue(ReadOnlySpanTFirst, ReadOnlySpanTSecond) Method
Gets the contained value.
Namespace: Ookii.CommonAssembly: Ookii.Common (in Ookii.Common.dll) Version: 1.0.0+7c2900b8a16cd8ae46bdd79d8f105034712c5fa3
public bool TryGetValue(
out ReadOnlySpan<TFirst> first,
out ReadOnlySpan<TSecond> second
)
Public Function TryGetValue (
<OutAttribute> ByRef first As ReadOnlySpan(Of TFirst),
<OutAttribute> ByRef second As ReadOnlySpan(Of TSecond)
) As Boolean
Dim instance As NullableReadOnlySpanPair
Dim first As ReadOnlySpan(Of TFirst)
Dim second As ReadOnlySpan(Of TSecond)
Dim returnValue As Boolean
returnValue = instance.TryGetValue(first,
second)
public:
bool TryGetValue(
[OutAttribute] ReadOnlySpan<TFirst>% first,
[OutAttribute] ReadOnlySpan<TSecond>% second
)
- first ReadOnlySpanTFirst
-
When this method returns, if the HasValue property is ,
contains the first value of the Value property; otherwise, an empty
ReadOnlySpanPairTFirst, TSecond.
- second ReadOnlySpanTSecond
-
When this method returns, if the HasValue property is ,
contains the second value of the Value property; otherwise, an empty
ReadOnlySpanPairTFirst, TSecond.
Boolean
The value of the
HasValue property.