API Reference
Struct
OptionalValue`1
Represents an optional value with explicit "specified" state.
Inheritance
- ValueType
- OptionalValue`1
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property CollaborationModeMask.DeveloperInstructions
- Property CollaborationModeMask.ReasoningEffort
- Method OptionalValue.FromValue
- Property OptionalValue.Unspecified
Accepted by parameters
- Constructor CollaborationModeMask.CollaborationModeMask
- Constructor CollaborationModeMask.CollaborationModeMask
Type Parameters
- T
Constructors
public OptionalValue<T>(Boolean isSpecified, T value) #Initializes a new optional value.
Parameters
- isSpecified System.Boolean
- Whether the value is specified.
- value `0
- The value when specified.
Methods
public static OptionalValue<T> FromValue(T value) #Returns:
OptionalValue<T>Returns a specified optional value with the provided payload.
Parameters
- value `0