Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / May 2004

Tip: Looking for answers? Try searching our database.

CodeClass.AddAttribute not working on C# item

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel Cazzulino [MVP XML] - 11 May 2004 20:51 GMT
Hi there,
documentation says AddAttribute doesn't work for VB, but I get a "Not
Implemented" exception message for a C# class too. Is this correct?

Signature

Daniel Cazzulino [MVP XML]
Clarius Consulting SA
http://weblogs.asp.net/cazzu
http://aspnet2.com

Carlos J. Quintero [MVP] - 12 May 2004 10:09 GMT
Yes, it's correct. The final word, apart from the actual tests,  of what
works and what doesn?t is not the MS documentation but the Appendix: Code
Model Reference of the book "Inside Visual Studio .NET 2003", Microsoft
Press, by Craig Skibo and others, a must have book.

Quote from page 512:

"Currently, C# and J# don?t implement AddAttribute".

So, you will have to do it via EditPoint.Insert(myText)

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)

> Hi there,
> documentation says AddAttribute doesn't work for VB, but I get a "Not
> Implemented" exception message for a C# class too. Is this correct?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.