共用方式為


IDebugActivateDocumentEvent2::GetDocument

Gets the document to activate.

HRESULT GetDocument ( 
   IDebugDocument2** ppDoc
);
int GetDocument ( 
   out IDebugDocument2 ppDoc
);

Parameters

  • ppDoc
    [out] Returns an IDebugDocument2 object that represents the document to be activated.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugActivateDocumentEvent2

IDebugDocument2