DEBUG_CUSTOM_VIEWER

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

A structure that identifies a custom viewer or type visualizer.

Syntax

typedef struct tagDEBUG_CUSTOM_VIEWER {
    DWORD dwID;
    BSTR  bstrMenuName;
    BSTR  bstrDescription;
    GUID  guidLang;
    GUID  guidVendor;
    BSTR  bstrMetric;
} DEBUG_CUSTOM_VIEWER;
public struct DEBUG_CUSTOM_VIEWER {
    public uint   dwID;
    public string bstrMenuName;
    public string bstrDescription;
    public Guid   guidLang;
    public Guid   guidVendor;
    public string bstrMetric;
};

Members

dwID
An ID to differentiate multiple viewers or visualizers implemented by one GUID.

bstrMenuName
The text that will appear in the drop-down menu.

bstrDescription
A description of the custom viewer or type visualizer (must be a null value if not used).

guidLang
Language of the providing expression evaluator.

guidVendor
Vendor of the providing expression evaluator.

bstrMetric
Metric under which the custom viewer or type visualizer CLSID is stored.

Remarks

A list of this structure is returned by a call to the GetCustomViewerList method (and, by extension, the GetCustomViewerList method).

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also