EndClone
TheEndClonemethod commits the specified cloning transaction.
void EndClone (in ODDraftKey key);
key- The draft key for the cloning transaction to be committed.
DISCUSSION
You must call this method to end a successful cloning transaction. Thekeyparameter must be set to the draft key returned by the call to theBeginClonemethod that started the cloning transaction.If the cloning transaction cannot be completed for any reason, you should call the
AbortClonemethod instead of this method.After this method executes successfully, the destination draft of this cloning transaction contains copies of all the persistent objects and storage units whose
CloneIntomethods were called by this draft'sClonemethod during the transaction.EXCEPTIONS
kODErrInvalidDraftKey- The specified draft key is not the draft key for the current cloning transaction.
kODErrMoveIntoSelf- This clone transaction attempted to move a part into one of its embedded frames or embed one of the part's display frames into another of its display frames.
SEE ALSO
TheODDraftKeytype (page 902).
TheODDraft::AbortClonemethod (page 151).
TheODDraft::BeginClonemethod (page 159).
TheODDraft::Clonemethod (page 162).
"EndClone" on page 325 in OpenDoc Programmer's Guide.