API Reference > Other Classes > OdOxOleLinkManager Class > OdOxOleLinkManager Methods > OdOxOleLinkManager::SetDocIDispatch Method
OdOxOleLinkManager::SetDocIDispatch Method
Syntax
C++
virtual bool SetDocIDispatch(OdDbDatabase * pDatabase, IDispatch* pIDispatch = 0) = 0;
Parameters 
Description 
IDispatch* pIDispatch = 0 
[in] Pointer to the IDispatch of the document.. 
pDb 
[in] Pointer to the database.  

Sets the link between the specified database and the specified document to which it belongs..

If IDispatch is NULL, the link is removed.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.