共用方式為


AfxDump (MFC)

Call this function while in the debugger to dump the state of an object while debugging.

void AfxDump( 
   const CObject* pOb  
);

Parameters

  • pOb
    A pointer to an object of a class derived from CObject.

Remarks

AfxDump calls an object's Dump member function and sends the information to the location specified by the afxDump variable. AfxDump is available only in the Debug version of MFC.

Your program code should not call AfxDump, but should instead call the Dump member function of the appropriate object.

Requirements

Header: afx.h

See Also

Reference

CObject::Dump

afxDump (CDumpContext in MFC)