IVsTrackSelectionEx::OnSelectChange Method (ISelectionContainer^)
Visual Studio 2015
Reports that the current selection container has changed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pSC
-
Type:
Microsoft.VisualStudio.Shell.Interop::ISelectionContainer^
[in] Pointer to the ISelectionContainer interface to access Properties window data for the current selection.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTrackSelectionEx::OnSelectChange(
[in] ISelectionContainer * pSC
);
An ISelectionContainer pointer is part of the selection context that is maintained by the environment for every window. The environment uses this pointer to retrieve Properties window data.
Show: