自定义数据可视化器中的可视化表达式 [英] Visualized expression in custom data visualizer

查看:45
本文介绍了自定义数据可视化器中的可视化表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我选择其中一种内置可视化工具时:

When I choose one of the built-in visualizers:

我可以看到被可视化的原始表达式:

I can see the original expression being visualized:

如何从我自己的自定义可视化工具中获取此信息?

我浏览了 API 参考,没有找到任何东西.

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.)

更新

由于原因,链接的开发者社区请求已关闭.

The linked Developer Community request has been closed for reasons.

推荐答案

因为您对超链接感兴趣,所以我搜索了我的电子邮件存档并找到了一封来自 2006 年 2 月 4 日的邮件(嗯,这不仅仅是一些几年前'):

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'):

我的问题是:

... 我也想知道 VS2005 提供的 Visualizers 如何设法显示表达式(Visualizer 表单中最顶部的文本框).

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

答案:

... 字符串可视化工具可以显示原始表达式的原因是它们以低于我们提供的可视化界面.它们是用本机代码编写的,并且在调试本机代码时工作,而我们的可视化架构提供仅限于托管代码.

... 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.

斯科特·诺南伯格项目经理Visual C# 团队

Scott Nonnenberg Program Manager Visual C# Team

这是在 http://blogs.msdn.com/scottno/default.aspx 但我认为 Scott 不再是 Microsoft 员工,该帖子将无法在线发布...

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...

这篇关于自定义数据可视化器中的可视化表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆