Property Value
Value
If HasValue is true, returns the value contained by this instance, otherwise throws a
Declaration
public T Value { get; }
Property Value
| Type | Description |
|---|---|
| T |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Thrown if this instance is 'empty' and has no value to return. |