IDebugEnumField

此接口表示枚举类型。

IDebugEnumField : IDebugContainerField

实现者说明

符号提供程序实现此接口表示枚举。

调用方的说明

,如果 IDebugField:: GetKind 返回 FIELD_TYPE_ENUM,请使用 QueryInterfaceIDebugField 接口的此接口。

方法按 VTable 顺序

除了在 IDebugFieldIDebugContainerField 接口的方法之外,此接口执行以下方法:

方法

说明

IDebugEnumField:: GetUnderlyingSymbol

返回描述名称此枚举类型的 IDebugField

IDebugEnumField:: GetStringFromValue

返回枚举常量的名称与该特定值。

IDebugEnumField:: GetValueFromString

返回值与给定的枚举常量名称

IDebugEnumField:: GetValueFromStringCaseInsensitive

返回值与特定枚举常量名称,但忽略大小写。

备注

它是实际绑定到具有 IDebugBinder:: 绑定的位置的基础符号。

要求

标题:sh.h

命名空间:Microsoft.VisualStudio.Debugger.Interop

程序集:Microsoft.VisualStudio.Debugger.Interop.dll

请参见

参考

IDebugContainerField

IDebugField

IDebugBinder:: 绑定

概念

符号提供程序接口