NullableReadOnlySpanTTryGetValue 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<T> value
)

Parameters

value  ReadOnlySpanT
When this method returns, if the HasValue property is , contains the value of the Value property; otherwise, an empty ReadOnlySpanT.

Return Value

Boolean
The value of the HasValue property.

See Also