IDebugEnumField

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface represents an enumeration type.

Syntax

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 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
GetUnderlyingSymbol Returns an IDebugField describing the name for this enumeration type.
GetStringFromValue Returns the name of the enumeration constant associated with the given value.
GetValueFromString Returns the value associated with the given enumeration constant name
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 Bind.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also