IVsClassView::NavigateTo Method (array<VSOBJECTINFO>^, UInt32)
Visual Studio 2015
Asks the environment to navigate to a given object in Class View.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pObjInfo
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSOBJECTINFO>^
[in] Specifies a VSOBJECTINFO structure containing the fully qualified name of the object that is the target of the navigation.
- dwReserved
-
Type:
System::UInt32
[in] Reserved parameter. Must be zero.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsClassView::NavigateTo( [in] const VSOBJECTINFO *pObjInfo, [in] DWORD dwReserved );
Language implementers should call this method to implement the Synchronize Class View command from the source editor.
Callers should fill the pObjInfo structure with fully qualified name of the object of interest. The environment will then navigate to the specified object in Class View. This only works for objects defined within your projects.
Show: