共用方式為


IVsObjBrowser.NavigateTo(VSOBJECTINFO[], UInt32) Method

Definition

Navigates to object described by VSOBJECTINFO.

public:
 int NavigateTo(cli::array <Microsoft::VisualStudio::Shell::Interop::VSOBJECTINFO> ^ pObjInfo, System::UInt32 dwReserved);
int NavigateTo(std::Array <Microsoft::VisualStudio::Shell::Interop::VSOBJECTINFO> const & pObjInfo, unsigned int dwReserved);
public int NavigateTo (Microsoft.VisualStudio.Shell.Interop.VSOBJECTINFO[] pObjInfo, uint dwReserved);
abstract member NavigateTo : Microsoft.VisualStudio.Shell.Interop.VSOBJECTINFO[] * uint32 -> int
Public Function NavigateTo (pObjInfo As VSOBJECTINFO(), dwReserved As UInteger) As Integer

Parameters

pObjInfo
VSOBJECTINFO[]

[in] The object to which to navigate.

dwReserved
UInt32

[in] Reserved. Do not use.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjBrowser::NavigateTo(  
[in] const VSOBJECTINFO *pObjInfo,   
[in] DWORD dwReserved  
);  

Applies to