NullableReadOnlySpanPairTFirst, TSecondTryGetValue(ReadOnlySpanTFirst, ReadOnlySpanTSecond) Method

Gets the contained value.

Definition

Namespace: Ookii.Common
Assembly: Ookii.Common (in Ookii.Common.dll) Version: 1.0.0+7c2900b8a16cd8ae46bdd79d8f105034712c5fa3
C#
public bool TryGetValue(
	out ReadOnlySpan<TFirst> first,
	out ReadOnlySpan<TSecond> second
)

Parameters

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.

Return Value

Boolean
The value of the HasValue property.

See Also