c# - 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.
解决方案
因为您对超链接感兴趣,所以我搜索了我的电子邮件存档,发现了一封 2006 年 2 月 4 日的邮件(嗯,这比“几年前”多一点):
我的问题是:
...我也想知道 VS2005 提供的 Visualizers 如何管理显示表达式(Visualizer 表单中最顶部的文本框)。
答案是:
...字符串可视化器可以显示原始表达式的原因是它们内置在 Visual Studio 中,比我们提供的 Visualizers 界面低。它们是用本机代码编写的,在调试本机代码时工作,而我们提供的可视化器架构仅限于托管代码。
对不起!如果您还有其他问题,请告诉我。
Scott Nonnenberg 项目经理 Visual C# 团队
这是在http://blogs.msdn.com/scottno/default.aspx上,但我认为 Scott 不再是 Microsoft 员工,并且无法在线发布该帖子......
推荐阅读
- java - Websphere 在 EAR 中更改 JNDI 名称
- netbeans - 像 Netbeans 一样在 VS Code 中的新行周围自动添加引号
- python - 检测网站是否限制导航其网站,直到您接受警报或弹出窗口 - 在 python 中使用 selenium webdriver
- r - 子集调查设计的问题
- php - 即使使用 ajaxComplete() 函数,jQuery 代码也不会应用于动态内容。有什么建议么?
- onelogin - 在数据库 onelogin 中添加 Secret
- python - 如何在 tkinter 中获得相同的效果?
- azure - 在 azure 中使用 terraform 创建资源组:创建后无法直接找到资源组
- selenium-webdriver - 如何将 java @repeatable 与黄瓜一起使用
- sql-server - 以在 Oracle 和 SQL Server 中获得最佳性能为目标的数据建模