Share via


IVsCallBrowser.SetRootAtNavInfo(Int32, IVsNavInfo) Method

Definition

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

public:
 int SetRootAtNavInfo(int cbMode, Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ pNavInfo);
public:
 int SetRootAtNavInfo(int cbMode, Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ pNavInfo);
int SetRootAtNavInfo(int cbMode, Microsoft::VisualStudio::Shell::Interop::IVsNavInfo const & pNavInfo);
public int SetRootAtNavInfo (int cbMode, Microsoft.VisualStudio.Shell.Interop.IVsNavInfo pNavInfo);
abstract member SetRootAtNavInfo : int * Microsoft.VisualStudio.Shell.Interop.IVsNavInfo -> int
Public Function SetRootAtNavInfo (cbMode As Integer, pNavInfo As IVsNavInfo) As Integer

Parameters

cbMode
Int32

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

pNavInfo
IVsNavInfo

[in] The IVsNavInfo interface containing the information to use.

Returns

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  
);  

Applies to