CDumpContext::DumpAsHex
Gibt den angegebenen Typ, der als Hexadezimalzahlen formatiert wird.
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
);
Rückgabewert
Ein Verweis auf ein Objekt CDumpContext.
Hinweise
Rufen Sie die Memberfunktion auf, um das Element des angegebenen Typs als Hexadezimalzahl zu speichern. Um ein Array zu speichern, rufen Sie CDumpContext::HexDump auf.
Beispiel
#if _DEBUG
afxDump.DumpAsHex(115);
#endif
Anforderungen
Header: afx.h