Remove
TheRemovemethod prepares this frame to be removed both from memory and persistent storage.
void Remove ();DISCUSSION
Your part calls its embedded frame'sRemovemethod when it permanently removes the frame from its content. This method in turn calls theDisplayFrameRemovedmethod of this frame's part to notify the part that this frame is being removed. During execution of theDisplayFrameRemovedmethod, this frame's part calls its embedded frames'sRemovemethod recursively.During execution of this method, this frame releases its references to the associated part and its containing frame, and this frame should not be used again. After this method executes successfully, you do not need to call your part's
Releasemethod.Depending on whether you want to affect persistent storage, your part calls either this method or its frame's
Closemethod.EXCEPTIONS
kODErrFrameHasFacets- The specified frame has attached facets.
SEE ALSO
TheODFrame::Closemethod (page 314).
TheODPart::DisplayFrameRemovedmethod (page 498).
"Responding to a Removed Display Frame" on page 112 in OpenDoc Programmer's Guide.
"Removing an Embedded Frame" on page 121 in OpenDoc Programmer's Guide.
"Undo and Embedded Frames" on page 262 in OpenDoc Programmer's Guide.