다음을 통해 공유


IEEDataStorage

This interface represents an array of bytes.

IEEDataStorage : IUnknown

Notes for Implementers

The expression evaluator (EE) implements this interface to represent an array of bytes (used by type visualizers to retrieve and change data through the IPropertyProxyEESide interface). The EE typically implements this interface to support external type visualizers.

Notes for Callers

The methods on the IPropertyProxyEESide interface all return this interface. Call IPropertyProxyProvider::GetPropertyProxy to obtain the IPropertyProxyEESide interface. Call QueryInterface on an IDebugProperty3 interface to obtain the IPropertyProxyProvider interface.

Methods in Vtable order

The IEEDataStorage interface implements the following methods:

Method

Description

IEEDataStorage::GetData

Retrieves the specified number of data bytes to a supplied buffer.

IEEDataStorage::GetSize

Retrieves the number of data bytes available.

Remarks

This interface is used by a type visualizer to access data held by a specific object. The data is treated as an array of bytes, allowing the type visualizer to manipulate it in whatever way is required to present it to the user.

A custom viewer can also use this interface, if desired, although more typically, a custom viewer would use a custom interface, IDebugProperty2::GetMemoryBytes or IDebugProperty3::GetStringChars (for string-oriented data).

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IPropertyProxyEESide

Concepts

Core Interfaces

Type Visualizer and Custom Viewer