共用方式為


AfxDump (MFC)

在偵錯時,在偵錯工具傾印物件的狀態,呼叫這個函式。

void AfxDump( 
   const CObject* pOb  
);

參數

  • pOb
    要從 CObject衍生之類別的物件的指標。

備註

AfxDump 呼叫物件的 Dump 成員函式並傳送資訊到 afxDump 變數所指定的位置。 AfxDump 只有 MFC 偵錯版本。

您的程式碼不應該呼叫 AfxDump,,而是應該呼叫適當的 Dump 物件的成員函式。

需求

標頭: afx.h

請參閱

參考

CObject::Dump

afxDump (MFC 中的 CDumpContext)