Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: System.Int32
[in] Browser mode to use. A value from the __VSCALLBROWSERMODE enumeration.
- pNavInfo
Type: Microsoft.VisualStudio.Shell.Interop.IVsNavInfo
[in] The IVsNavInfo interface containing the information to use.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.