ConditionalValue<TValue> Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Result class returned by Reliable Collections APIs that may or may not return a value.
public struct ConditionalValue<TValue>
type ConditionalValue<'Value> = struct
Public Structure ConditionalValue(Of TValue)
Type Parameters
- TValue
The type of the value returned by this .
- Inheritance
-
ConditionalValue<TValue>
Constructors
ConditionalValue<TValue>(Boolean, TValue) |
Initializes a new instance of the class with the given value. |
Properties
HasValue |
Gets a value indicating whether the current object has a valid value of its underlying type. |
Value |
Gets the value of the current object if it has been assigned a valid underlying value. |