qBool IsValid() const;
None.
Value | Description |
---|---|
true |
Returned when valid. |
false |
Returned when invalid or when an error has occurred. |
Gets whether the DORef
instance is valid.
This function returns false
if the constructor was passed a DOHandle
to an invalid object, an unknown object, or an object other than the one intended. When this function fails, either the SYSTEMERROR_OBJDUP_DO_NOT_FOUND
or the SYSTEMERROR_GEN_INVALID_OPERATION
error is signaled. The SYSTEMERROR_OBJDUP_MISMATCHED_DOCLASS
error is sometimes also signaled if the reference explicitly references the DOHandle
to an object.
CONFIDENTIAL