简体   繁体   中英

Visualized expression in custom data visualizer

When I choose one of the built-in visualizers:

选择展示台

I can see the original expression being visualized:

文本可视化工具,带有带圆圈的可视化表达

How can I get this information from within my own custom visualizer?

I've looked through the API reference , without finding anything.

(If you haven't found an answer, please upvote the request to support this on Developer Community .)

Update

The linked Developer Community request has been closed for reasons .

Because you were interested in a hyperlink, I searched my email archive and found a mail from February 04, 2006 (well, this is bit more than 'a few years ago'):

My question was:

... I also would like to know how the Visualizers provided by VS2005 manage to display the expression (topmost textbox in the Visualizer form).

And the answer:

... The reason the string visualizers can display the original expression is that they are built into Visual Studio at a lower level than the Visualizers interface we provide. They are written in native code and work when debugging native code, while the visualizers architecture we provide is limited to managed code.

Sorry! Let me know if you have any more questions.

Scott Nonnenberg Program Manager Visual C# Team

This was on http://blogs.msdn.com/scottno/default.aspx but I think Scott is no longer a Microsoft employee and the posting won't be available online...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM