Search the web
Sign In
New User? Sign Up
vsnetaddin · Visual Studio.NET Add-ins
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
CodeElementFromPoint in VS C++   Message List  
Reply | Forward Message #3863 of 3878 |
Hi All,

I encounterd a problem which i fail to find a solution. I am trying
to get the Class name from a TextPoint (the class name of the
function which the text point is located in) in VS C++.

This code works great in C#:
currentProjectItem.FileCodeModel.CodeElementFromPoint(textPoint,
vsCMElement.vsCMElementClass).Name

however, in Visual C++ -
currentProjectItem.FileCodeModel.CodeElementFromPoint(textPoint,
vsCMElement.vsCMElementClass) -- returns null

i am working with VS 2005.

Any suggestions?

Thanks in advance,
Avi Revivo
Nice Systems




Sun Mar 30, 2008 9:01 am

miri_avi
Offline Offline
Send Email Send Email

Forward
Message #3863 of 3878 |
Expand Messages Author Sort by Date

Hi All, I encounterd a problem which i fail to find a solution. I am trying to get the Class name from a TextPoint (the class name of the function which the...
miri_avi
Offline Send Email
Mar 30, 2008
6:03 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help