Compartir a través de


IVsNavigationTool Interface

Replaces IVsClassView and IVsObjectBrowser.to manipulate the ClassView and ObjectBrowser.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("FDAEB434-F941-4370-9B89-325249EFEC48")> _
Public Interface IVsNavigationTool
[InterfaceTypeAttribute()]
[GuidAttribute("FDAEB434-F941-4370-9B89-325249EFEC48")]
public interface IVsNavigationTool
[InterfaceTypeAttribute()]
[GuidAttribute(L"FDAEB434-F941-4370-9B89-325249EFEC48")]
public interface class IVsNavigationTool
[<InterfaceTypeAttribute()>]
[<GuidAttribute("FDAEB434-F941-4370-9B89-325249EFEC48")>]
type IVsNavigationTool =  interface end
public interface IVsNavigationTool

The IVsNavigationTool type exposes the following members.

Methods

  Name Description
Public method GetSelectedSymbols Get the symbols selected in the object or class browser.
Public method NavigateToNavInfo Tells the class or object browser to navigate to a particular item.
Public method NavigateToSymbol Tells the class or object browser to navigate to items in a library.

Top

Remarks

To use this interface with the ClassView, get an instance from the SVsClassView (SID_SVsClassView) service. To use this interface with the ObjectBrowser, get an instance from the SVsObjBrowser (SID_SVsObjBrowser) service.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace