c# - 在 Visual Studio 2015 中观看图标和项目

标签 c# visual-studio-2015 visual-studio-debugging

当我将鼠标悬停在我的 C# 代码中的 JObject 变量上时,我看到一个监 window 口弹出。当我展开它时,我看到了下图:

enter image description here

问题

  1. ChildrenTokens 旁边的蓝色符号/图标表示什么?

  2. 此类符号/图标的完整列表在哪里?

  3. 我们都看到 ChildrenTokens 列在监 window 口中。但是,当我在代码中并尝试访问 ChildrenTokens 属性时,智能感知不会显示它。为什么?

谢谢。

最佳答案

JObject Documentation可以看出, ChildrenTokens 是一个protected override property。带有 Spanner 的图标显示属性;蓝色图标(可能是一把锁)表示该属性(property)受到保护。这可以解释为什么您无法通过 Intellisense 访问它。

您可以在此处找到 VS2015 的图标和叠加层列表: https://msdn.microsoft.com/en-us/library/y47ychfe(v=vs.140)

请注意,图标会根据您查看它们的位置而有所不同。

关于c# - 在 Visual Studio 2015 中观看图标和项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39757494/

相关文章:

asp.net - 从 Visual Studio 2010 调试控制台应用程序和 Web API 应用程序

c# - 如何在 OpenTK 中翻转 QuickFont

c# - 日志不会保存到日志表中

msbuild - npm安装错误:“找不到v120的构建工具(Platform Toolset ='v120')”

c# - Visual Studio 在 IntelliSense 中添加 global::

visual-studio - 在 VS2012 中切换 'break on all exceptions' 的快速方法?

c# - 如何在 C# 中序列化 Pen?

c# - 按键时将焦点集中到文本框

c++ - Visual Studio 2015 调试 : How to stay within my own program only

linux - VS2017 在 Linux Remote 上调试我的共享库