| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
An optional value of a given type. More...
import "Optional.idl";
| Public Attributes | |
| boolean | IsPresent | 
| Marks this structure instance as having an actual value. | |
| T | Value | 
| The actual value of this structure instance. | |
An optional value of a given type.
This structure is used as the type of interface attributes corresponding to instances of com::sun::star::beans::Property that have the com::sun::star::beans::PropertyAttribute::MAYBEVOID. It might also be useful in other situations, for example as the return type of an interface method.
| boolean IsPresent | 
Marks this structure instance as having an actual value.
| T Value | 
The actual value of this structure instance.
If no actual value is present, a producer of such a structure instance should leave this member defaulted, and a consumer of such a structure instance should ignore the specific value stored in this member.