共用方式為


IEEDataStorage

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 array of bytes.

Syntax

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 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
GetData Retrieves the specified number of data bytes to a supplied buffer.
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, GetMemoryBytes or GetStringChars (for string-oriented data).

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also