Share via


IDebugPointerField

This interface represents a pointer type.

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 IDebugField::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

IDebugPointerField::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

Concepts

Symbol Provider Interfaces

Reference

IDebugField

IDebugContainerField