Compartir a través de


IDebugEnumField

This interface represents an enumeration type.

IDebugEnumField : IDebugContainerField

Notes for Implementers

A symbol provider implements this interface to represent an enumeration.

Notes for Callers

Use QueryInterface to obtain this interface from the IDebugField interface if IDebugField::GetKind returns FIELD_TYPE_ENUM.

Methods in VTable order

In addition to the methods on the IDebugField and IDebugContainerField interfaces, this interface implements the following methods:

Method

Description

IDebugEnumField::GetUnderlyingSymbol

Returns an IDebugField describing the name for this enumeration type.

IDebugEnumField::GetStringFromValue

Returns the name of the enumeration constant associated with the given value.

IDebugEnumField::GetValueFromString

Returns the value associated with the given enumeration constant name

IDebugEnumField::GetValueFromStringCaseInsensitive

Returns the value associated with the given enumeration constant name but ignoring case.

Remarks

It is the underlying symbol that is actually bound to a location with IDebugBinder::Bind.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugContainerField

IDebugField

IDebugBinder::Bind

Concepts

Symbol Provider Interfaces