IVsCodeDefView::SetContext Method (IVsCodeDefViewContext^)
Visual Studio 2015
Sets the context of the Code Definition tool window.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pIVsCodeDefViewContext
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsCodeDefViewContext^
[in] Pointer to the context IVsCodeDefViewContext interface) to use.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
SetContext has no effect when the tool window is active.
From vsshell80.idl:
HRESULT IVsCodeDefView::SetContext(
[in] IVsCodeDefViewContext *pIVsCodeDefViewContext
);
Show: