nn::nex::DORef::IsValid Member Function

Syntax

qBool IsValid() const;

Parameters

None.

Return Values



Value Description
true Returned when valid.
false Returned when invalid or when an error has occurred.

Description

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.

Revision History

2011/01/28
Initial version.

CONFIDENTIAL