Share via


IDebugPointerField

Note

This article applies to Visual Studio 2015. 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 a pointer type.

Syntax

IDebugPointerField : IDebugContainerField  

Notes for Implementers

The symbol provider implements this interface to represent a pointer.

Notes for Callers

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

Methods in Vtable order

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

Method Description
GetDereferencedField Returns an IDebugField describing the target of the pointer.

Remarks

In C/C++, a pointer can be a container if it is used with array notation. For example, given char *pString, pString has a type of pointer to char. pString[3] has the type of a container that is a pointer to char that references the fourth element of that container.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Symbol Provider Interfaces
IDebugField
IDebugContainerField