Compartir a través de


IVsCallBrowser.SetRootAtNavInfo Method

Sets the root of the displayed calls to a given navigation point.

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

Syntax

'Declaración
Function SetRootAtNavInfo ( _
    cbMode As Integer, _
    pNavInfo As IVsNavInfo _
) As Integer
'Uso
Dim instance As IVsCallBrowser
Dim cbMode As Integer
Dim pNavInfo As IVsNavInfo
Dim returnValue As Integer

returnValue = instance.SetRootAtNavInfo(cbMode, _
    pNavInfo)
int SetRootAtNavInfo(
    int cbMode,
    IVsNavInfo pNavInfo
)
int SetRootAtNavInfo(
    [InAttribute] int cbMode, 
    [InAttribute] IVsNavInfo^ pNavInfo
)
abstract SetRootAtNavInfo : 
        cbMode:int * 
        pNavInfo:IVsNavInfo -> int 
function SetRootAtNavInfo(
    cbMode : int, 
    pNavInfo : IVsNavInfo
) : int

Parameters

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsCallBrowser::SetRootAtNavInfo(
   [in] CALLBROWSERMODE cbMode, 
   [in] IVsNavInfo * pNavInfo
);

.NET Framework Security

See Also

Reference

IVsCallBrowser Interface

IVsCallBrowser Members

Microsoft.VisualStudio.Shell.Interop Namespace