Compartilhar via


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

'Declaration
Function SetRootAtNavInfo ( _
    cbMode As Integer, _
    pNavInfo As IVsNavInfo _
) As Integer
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

  • cbMode
    Type: Int32

    [in] Browser mode to use. A value from the __VSCALLBROWSERMODE enumeration.

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 IVsCallBrowser::SetRootAtNavInfo(
   [in] CALLBROWSERMODE cbMode, 
   [in] IVsNavInfo * pNavInfo
);

.NET Framework Security

See Also

Reference

IVsCallBrowser Interface

Microsoft.VisualStudio.Shell.Interop Namespace