简体   繁体   English

C#中的XML intellisense在VB.Net中?

[英]XML intellisense in C# as in VB.Net?

Is it possible to enable XML intellisense in a C# class as it is in the VB editor? 是否可以在C#类中启用XML intellisense,就像在VB编辑器中一样? Similar to this article's prescriptions: 与本文的处方类似:

http://msdn.microsoft.com/en-us/library/bb531325.aspx http://msdn.microsoft.com/en-us/library/bb531325.aspx

Would like to not have to use xsd.exe to generate a class from the XML. 不想使用xsd.exe从XML生成类。

不,因为C#首先不支持像VB那样的XML文字 - 除非它检测到你在XElement等上调用了Elements ,否则在弹出IntelliSense的语言中真的没有任何地方。

目前还没有 - 该功能仅限于VB.Net,通常称为XML Literals。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM