ISumType Interface
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.
Abstracts over the idea of a "sum type". Sum types are types that can contain one value of various types. This abstraction is guaranteed to be typesafe, meaning you cannot access the underlying value without knowing its specific type.
public interface class ISumType
public interface ISumType
type ISumType = interface
Public Interface ISumType
- Derived
Properties
Value |
Gets the value stored in the SumType. This can be matched against using the "is" operator. |