preferredFormat 枚举 (dbgmodel.h)

“PreferredFormat”键的预定义值,可能显示为返回的键值上的元数据。 这表示给定值的首选 DISPLAY FORMAT。

语法

typedef enum PreferredFormat {
  FormatNone,
  FormatSingleCharacter,
  FormatQuotedString,
  FormatString,
  FormatQuotedUnicodeString,
  FormatUnicodeString,
  FormatQuotedUTF8String,
  FormatUTF8String,
  FormatBSTRString,
  FormatQuotedHString,
  FormatHString,
  FormatRaw,
  FormatEnumNameOnly,
  FormatEscapedStringWithQuote,
  FormatUTF32String,
  FormatQuotedUTF32String
} ;

常量

 
FormatNone
没有首选格式
FormatSingleCharacter
首选格式是单个字符作为“*”
FormatQuotedString
首选格式为带引号的 8 位字符串
FormatString
首选格式是无引号的 8 位字符串
FormatQuotedUnicodeString
首选格式是带引号的 Unicode (UTF-16) 字符串
FormatUnicodeString
首选格式是无引号 Unicode (UTF-16) 字符串
FormatQuotedUTF8String
首选格式是带引号的 UTF-8 字符串
FormatUTF8String
首选格式是未带引号的 UTF-8 字符串
FormatBSTRString
首选格式为带引号的 BSTR
FormatQuotedHString
首选格式为带引号的 WinRT HSTRING
FormatHString
首选格式是未带引号的 WinRT HSTRING
FormatRaw
首选格式是原始 (本机) 类型
FormatEnumNameOnly
首选格式是仅枚举名称
FormatEscapedStringWithQuote
首选格式是带转义字符的带引号的字符串
FormatUTF32String
首选格式是非带引号的 Unicode (UTF-32) 字符串
FormatQuotedUTF32String
首选格式是带引号的 Unicode (UTF-32) 字符串

要求

要求
Header dbgmodel.h

另请参阅

调试器数据模型 C++ 概述