IsPromiseValue
The IsPromiseValue method returns a Boolean value that indicates whether the currently focused value is a promise value.
ODBoolean IsPromiseValue ();
- return value
-
kODTrue if the currently focused value is a promise value, otherwise kODFalse.
DISCUSSION
If the currently focused value is a promise value, the promise is not resolved by this method.
EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnit::GetPromiseValue method (page 692).
The ODStorageUnit::SetPromiseValue method (page 711).
"Fulfilling a Promise" on page 331 in OpenDoc Programmer's Guide.