Compartir a través de


IVsNavigationTool.NavigateToNavInfo Method

Tells the class or object browser to navigate to a particular item.

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

Syntax

'Declaration
Function NavigateToNavInfo ( _
    pNavInfo As IVsNavInfo _
) As Integer
int NavigateToNavInfo(
    IVsNavInfo pNavInfo
)
int NavigateToNavInfo(
    [InAttribute] IVsNavInfo^ pNavInfo
)
abstract NavigateToNavInfo : 
        pNavInfo:IVsNavInfo -> int
function NavigateToNavInfo(
    pNavInfo : IVsNavInfo
) : int

Parameters

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsNavigationTool::NavigateToNavInfo(
   [in] IVsNavInfo * pNavInfo
);

.NET Framework Security

See Also

Reference

IVsNavigationTool Interface

Microsoft.VisualStudio.Shell.Interop Namespace