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 / Extensibility / May 2006

Tip: Looking for answers? Try searching our database.

CodeElement and CodeElement2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SamP - 27 May 2006 13:56 GMT
What's the difference?

ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_envdte/html/T_EnvDTE_CodeElement.htm

The examples in
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_extcore80/html/T_EnvDTE80_CodeElement2.htm
do not mention CodeElement2.

Thanks

SamP
Carlos J. Quintero [VB MVP] - 29 May 2006 09:26 GMT
Hi Sam,

CodeElement belongs to EnvDTE.dll, the extensibility model provided by
VS.NET 2002 and forward, which you can use also in VS 2005

CodeElement2 belongs to EnvDTE80.dll, an extension to the extensibility
model available only for VS 2005. Provides additional classes or methods. MS
can not touch EnvDTE.dll for compatibility reasons.

Bottom line:

- For VS.NET 2002/2003 add-ins, use CodeElement.
- For VS 2005 addins, if CodeElement is enough for your purposes, use it.
Otherwise, use CodeElement2 for additional method/properties.

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> What's the difference?
>
[quoted text clipped - 7 lines]
>
> SamP
SamP - 29 May 2006 16:20 GMT
Thank for the info.

SamP

> Hi Sam,
>
[quoted text clipped - 22 lines]
>>
>> SamP

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.