Partager via


IDebugDocumentHelper::Attach

Adds this document to the document tree.

Syntax

HRESULT Attach(  
   IDebugDocumentHelper*  pddhParent  
);  

Parameters

pddhParent
[in] The document tree where this document will be added. May be NULL.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

This method adds this document to the document tree, using pddhParent as the parent. If the pddhParent is NULL, this document will be the top-level document.

See also

IDebugDocumentHelper::Detach
IDebugDocumentHelper Interface