Watch Icons and Items in Visual Studio 2015

 ̄綄美尐妖づ 提交于 2020-01-14 08:09:42

问题


When I hover over a JObject variable in my C# code, I see a watch window pop up. When I expand that, I see the following image:

Questions

  1. What does the blue symbol/icon next to ChildrenTokens signify?

  2. Where is a comprehensive list of such symbols/icons?

  3. We all see ChildrenTokens listed in the watch window. However, when I am in code and try to access the ChildrenTokens property, intellisense doesn't show it. Why?

Thank you.


回答1:


As you can see from JObject Documentation, ChildrenTokens is a protected override property. The icons with the wrench displays Properties; The blue icon (possibly a lock) is indicating that the property is protected. This would explain why you cannot access it via Intellisense.

You can find a list of the icons and overlays here for VS2015 here: https://msdn.microsoft.com/en-us/library/y47ychfe(v=vs.140)

Note that the icons vary depending on where you are viewing them.



来源:https://stackoverflow.com/questions/39757494/watch-icons-and-items-in-visual-studio-2015

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!