Share via


ConditionalValue<TValue>.Value Property

Definition

Gets the value of the current object if it has been assigned a valid underlying value.

public TValue Value { get; }
member this.Value : 'Value
Public ReadOnly Property Value As TValue

Property Value

TValue

The value of the object. If HasValue is false, returns the default value for type of the TValue parameter.

Applies to