Compartilhar via


CDumpContext::DumpAsHex

Dumps the specified type formatted as hexadecimal numbers.

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 
);

Return Value

A reference to a CDumpContext object.

Remarks

Call this member function to dump the item of the specified type as a hexadecimal number. To dump an array, call CDumpContext::HexDump.

Example

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

Requirements

Header: afx.h

See Also

Reference

CDumpContext Class

Hierarchy Chart

CDumpContext::operator <<

Other Resources

CDumpContext Members