开发者

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? 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜