Hi Gary,
I didn't have a chance to try this out earlier, so I want to revisit it now.
How do I obtain an IVsObjectList? It seems like I might be able to make use
of SVsObjectManager to call IVsObjectManager2.GetListAndIndex(), but it's
not clear what I should pass in for pNavInfo or dwFlags. Do you have some
client code obtaining and making use of IVsObjectList? Thanks.
> Hi Parag,
>
[quoted text clipped - 24 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Gary Chang[MSFT]" - 07 Sep 2005 10:50 GMT
Hi Parag,
Currently, we are looking into this problem. We will update you as soon as
possible.
Thanks for your understanding!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary Chang[MSFT]" - 08 Sep 2005 03:59 GMT
Hi Param,
I need to confirm do you want to implement the IVsObjectLists yourself or
you are trying to access the lists implemented by some other symbol
provider?
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
Parag Chandra - 08 Sep 2005 14:56 GMT
Hi Gary,
I want to access the IVsObjectLists of some other provider; no interest in
implementing my own just yet. Thanks.
> Hi Param,
>
[quoted text clipped - 16 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Gary Chang[MSFT]" - 09 Sep 2005 04:14 GMT
Hi Parag,
>I want to access the IVsObjectLists of some other
>provider; no interest in implementing my own just yet.
OK, if so, I suggest you try the IVsLibrary2::CreateNavInfo at first. You
can pass a description of the element you are interested and you get a
NavInfo object back. The array of SYMBOL_DESCRIPTION_NODE will be a list
like:
mscorlib LLT_PHYSICALCONTAINERS
System LLT_NAMESPACES
Boolean LLT_CLASSES
Then you will get this info from current selection or similar. You may use
IVsNavigationTool::GetSelectecSymbols. From IVsSelectedSymbol you can call
GetNavInfo to get a NavInfo directly.
To obtain the IVsLibrary2 object, please refer to the
IVsObjectManager2::FindLibrary, where you pass a GUID to the library you
are interested. You can obtain the guid from a NavInfo by calling
IVsNavInfo::GetLibGuid.
Wish this helps!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.