IEEVisualizerService::GetCustomViewerList

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 method returns a list of type visualizers that this service knows about.

Syntax

HRESULT GetCustomViewerList(
   ULONG                celtSkip,
   ULONG                celtRequested,
   DEBUG_CUSTOM_VIEWER* rgViewers,
   ULONG*               pceltFetched
);
int GetCustomViewerList(
   uint                  celtSkip,
   uint                  celtRequested,
   DEBUG_CUSTOM_VIEWER[] rgViewers,
   out uint              pceltFetched
);

Parameters

celtSkip
[in] Number of visualizers to skip over.

celRequested
[in] Number of visualizers to retrieve (also specifies size of the rgViewers array).

rgViewers
[in, out] Array of DEBUG_CUSTOM_VIEWER structures to be filled in.

pceltFetched
[out] Number of visualizers actually retrieved.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

  • GetCustomViewerList passes the request to this method as part of its support for type visualizers. If the expression evaluator also supplies custom viewers for the same type, it can append appropriately filled-out DEBUG_CUSTOM_VIEWER structures for those custom viewers to the list. Make sure that GetCustomViewerCount reflects those additional viewers.

See Type Visualizer and Custom Viewer for details on the differences between visualizers and viewers.

See also