CDumpContext::DumpAsHex

转储为十六进制数字格式的指定类型。

CDumpContext& DumpAsHex( 
   BYTE b 
); 
CDumpContext& DumpAsHex( 
   DWORD dw 
); 
CDumpContext& DumpAsHex( 
   int n 
); 
CDumpContext& DumpAsHex( 
   LONG l 
); 
CDumpContext& DumpAsHex( 
   LONGLONG n 
); 
CDumpContext& DumpAsHex( 
   UINT u 
); 
CDumpContext& DumpAsHex( 
   ULONGLONG n 
); 
CDumpContext& DumpAsHex( 
   WORD w 
);

返回值

CDumpContext 对象的引用。

备注

调用该成员函数转储一个指定类型的项目为十六进制数。 若要转储数组,请调用 CDumpContext::HexDump

示例

#if _DEBUG
   afxDump.DumpAsHex(115);      
#endif

要求

Header: afx.h

请参见

参考

CDumpContext Class

层次结构图

CDumpContext::operator <<