最佳答案
此图标显示继承链/边距,是在 Visual Studio 16.10 版中添加的。来自 16.10 release notes for Visual Studio :
There is now a visual representation for navigating and inspecting the inheritance chain. This option is off by default so you will need to turn it on in Tools > Options > Text Editor > C# > Advanced and select Show inheritance margin. Enabling inheritance margin will add new icons to the margins representing your code’s implementations and overrides. Clicking on the inheritance margin icon will display inheritance options that you can select to navigate to.
果然,如果你导航到工具菜单中的选项,它就在底部:
我会检查您的设置 - 默认情况下它应该关闭,这意味着它以某种方式为您打开。如果单击该图标,它应该显示继承链。如果不是,也许关闭并重新打开该选项,或者重新启动 Visual Studio(它显然是实验性的,因此可能会被窃听)。
关于visual-studio - 这个图标在VS2019中是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67701424/