开发者

XML intellisense in C# as in VB.Net?

开发者 https://www.devze.com 2023-01-12 11:33 出处:网络
Is it possible to enable XML intellisense in a C# class as it is in the VB editor?Si开发者_开发技巧milar to this article\'s prescriptions:

Is it possible to enable XML intellisense in a C# class as it is in the VB editor? Si开发者_开发技巧milar to this article's prescriptions:

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.


No, because C# doesn't support XML literals like VB does in the first place - there's really nowhere in the language where the IntelliSense would pop up, unless it detected that you were calling Elements on an XElement etc.


Not currently - the feature is VB.Net only, commonly called XML Literals.

0

精彩评论

暂无评论...
验证码 换一张
取 消